Opened 12 years ago

Closed 4 years ago

#68 closed defect (fixed)

grass libraries sonames

Reported by: wrobell Owned by: grass-dev@…
Priority: minor Milestone: 7.0.3
Component: Packaging Version: svn-trunk
Keywords: soname Cc:
CPU: All Platform: Linux

Description

grass build system does not set sonames of libraries. it causes problems while packaging grass using i.e. rpm which uses sonames for dependencies.

link to the patch

http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/grass-soname.patch

the patch was created by Jakub Bogusz (qboosh at pld-linux dot org) and updated by me for grass 6.3.0RC5.

Attachments (1)

soname.patch (899 bytes) - added by glynn 4 years ago.
patch to add soname on linux

Download all attachments as: .zip

Change History (12)

comment:1 in reply to:  description Changed 12 years ago by glynn

Replying to wrobell:

grass build system does not set sonames of libraries. it causes problems while packaging grass using i.e. rpm which uses sonames for dependencies.

link to the patch

http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/grass-soname.patch

GRASS is supposed to compile on platforms other than Linux, so hard-coding platform-specific linker switches is bogus.

The correct way to fix this is to modify the "Linux" portion of the SC_CONFIG_CFLAGS macro in aclocal.m4.

comment:2 Changed 12 years ago by neteler

Milestone: 6.3.06.4.0

comment:3 Changed 7 years ago by hamish

Component: DefaultPackaging
CPU: All
Keywords: soname added
Platform: Linux

status?

Changed 4 years ago by glynn

Attachment: soname.patch added

patch to add soname on linux

comment:4 in reply to:  3 ; Changed 4 years ago by glynn

Replying to hamish:

status?

Try attachment:soname.patch.

comment:5 Changed 4 years ago by martinl

Milestone: 6.4.07.0.2
Version: 6.3.0 RCssvn-trunk

comment:6 Changed 4 years ago by neteler

I applied it locally to the 7 release branch, works as expected on Linux.

comment:7 in reply to:  4 ; Changed 4 years ago by neteler

Replying to glynn:

Replying to hamish:

status?

Try attachment:soname.patch.

Applied to trunk in r66728.

comment:8 in reply to:  7 ; Changed 4 years ago by neteler

Replying to neteler:

Applied to trunk in r66728.

I think that backporting is harmless, can we?

comment:9 in reply to:  8 Changed 4 years ago by martinl

Replying to neteler:

Replying to neteler:

Applied to trunk in r66728.

I think that backporting is harmless, can we?

I don't know, maybe issue for 7.0.3?

comment:10 Changed 4 years ago by neteler

Milestone: 7.0.27.0.3

Ticket retargeted after milestone closed

comment:11 Changed 4 years ago by neteler

Resolution: fixed
Status: newclosed

Backported in r66895. Closing.

Note: See TracTickets for help on using tickets.