Opened 17 years ago

Closed 9 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 9 years ago.
patch to add soname on linux

Download all attachments as: .zip

Change History (12)

in reply to:  description comment:1 by glynn, 17 years ago

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 by neteler, 17 years ago

Milestone: 6.3.06.4.0

comment:3 by hamish, 12 years ago

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

status?

by glynn, 9 years ago

Attachment: soname.patch added

patch to add soname on linux

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

Replying to hamish:

status?

Try attachment:soname.patch.

comment:5 by martinl, 9 years ago

Milestone: 6.4.07.0.2
Version: 6.3.0 RCssvn-trunk

comment:6 by neteler, 9 years ago

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

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

Replying to glynn:

Replying to hamish:

status?

Try attachment:soname.patch.

Applied to trunk in r66728.

in reply to:  7 ; comment:8 by neteler, 9 years ago

Replying to neteler:

Applied to trunk in r66728.

I think that backporting is harmless, can we?

in reply to:  8 comment:9 by martinl, 9 years ago

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 by neteler, 9 years ago

Milestone: 7.0.27.0.3

Ticket retargeted after milestone closed

comment:11 by neteler, 9 years ago

Resolution: fixed
Status: newclosed

Backported in r66895. Closing.

Note: See TracTickets for help on using tickets.