| Ticket UUID: | 1281584 | ||
| Title: | -soname missing from GNU builds | ||
| Type: | Bug | Created on: | 2005-09-04 12:22:14 |
| Submitter: | paul_c | Assigned to: | stwo |
| Subsystem: | 53. Configuration and Build Tools | Severity: | |
| Priority: | 5 Medium | Last modified: | 2012-09-29 12:58:59 |
| Status: | Open | Closed by: | |
| Resolution: | None | Closed on: | |
| Version: | obsolete: 8.4.11 | ||
| Description: | ||||
Affects current 8.4.11 release and cvs HEAD. After packaging tcl8.4 and tk8.4 for an experimental Debian based distro, the systems abort with a message about not finding LIBTCL 8.4 & LIBTK 8.4 - This can be tracked to the linker not inserting soname. Borrowing SHLIB_LD_FLAGS from tcl8.4-8.4.9 and hacking unix/tcl.m4 and unix/Makefile.in, I managed to fix the problem for i386 builds.. The diff would need cleaning up before submission and would probably break other unix builds (assuming one is required). Regards, Paul Corner. | ||||
| User Comments: | ||||
dgp added on 2005-09-05 21:16:40:
Logged In: YES user_id=80530 How is this report related to Tcl Patch 1231017 ? paul_c added on 2005-09-05 22:07:15:
Logged In: YES user_id=51464 Had been following the advice in http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/shared-libraries.html Debian's default policy appears to be libtcl8.4.so.0 for the run time lib, and use a symlink, libtcl8.4.so, in the dev package - The Fedora patch only addresses half the problem.. On reflection, this bug report may be better off being directed at the package maintainer over at Debian if/when it hits Unstable - In which case, feel free to close this report. Regards, Paul. dkf added on 2005-09-05 22:42:24:
Logged In: YES user_id=79902 I'd be prepared to see an option adding to our configure script to allow people to set such things. I've no idea what the default value should be though, particularly as many apps could be relinked adequately against multiple versions of the Tcl library (e.g. 8.3 and 8.5) as we maintain a very high degree of compatability most of the time. dkf added on 2005-09-06 14:51:03:
Logged In: YES user_id=79902 [16:26]dkfHmm, http://wiki.linuxquestions.org/wiki/Library-related_Commands_and_Files#soname is somewhat informative [16:28]dkfBut even having read that, I've no idea what the value should be [16:38]dkfIn particular, should the version embedded be 8 or 8.5? [16:45]jenglishWith Tcl's versioning rules, the SONAME should probably include the major and minor versions, but not the patchlevel -- so libtcl.so.8.5 stwo added on 2012-09-29 12:58:59:
Debian does this, patches are at the end of the file: http://ftp.de.debian.org/debian/pool/main/t/tcl8.5/tcl8.5_8.5.8-2.diff.gz Debian sets TCL_SHLIB_LD_EXTRAS, which can be overridden at build time, so they can also choose to do that instead of patching, since Tcl gets built under a ports-like system, I suppose. Debian's choice of soname does not match the one in the linuxquestions link and is close to jenglish's recommendation. There is no 'Debian' section in tcl.m4, the change is under 'Linux' which, like 'Modeling', can mean a lot of things. How long is the list of those who care about soname? I'm not on that particular list. | ||||
