Opened 10 years ago

Last modified 6 weeks ago

#9943 needs_review defect

ECL is linking to libintl.so but does not need to (at least on OpenSolaris anyway)

Reported by: drkirkby Owned by: GeorgSWeber
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords:
Cc: dimpase Merged in:
Authors: Reviewers:
Report Upstream: Reported upstream. No feedback yet. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by chapoton)

http://blogs.sun.com/rie/entry/tt_dependencies_tt_define_what

shows a way of finding out any libraries that executables link to, where there are no references to what's in the library.

ECL would appear to have 3 in the current version of Sage, though it is reduced to 1 in the latest git snapshot of ECL I downloaded yesterday:

drkirkby@hawk:~/ecl$ ldd -r -u build/bin/ecl
libecl.so =>build/libecl.so
libdl.so.1 => /lib/libdl.so.1
libm.so.2 => /lib/libm.so.2
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libintl.so.1 => /lib/libintl.so.1
libc.so.1 => /lib/libc.so.1
libgmp.so.10 => /usr/local/gcc-4.5.0/lib/libgmp.so.10
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libgcc_s.so.1 => /usr/local/gcc-4.5.0/lib/libgcc_s.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
libsmbios.so.1 => /usr/lib/libsmbios.so.1

   unused object=/lib/libintl.so.1

Note the unused library

unused object=/lib/libintl.so.1

ECL should only link to these libraries if it needs them, which I expect it does with some options. There were no options given to configure here.

Dave

Change History (10)

comment:1 Changed 10 years ago by drkirkby

  • Description modified (diff)
  • Summary changed from ECL is linkin to two libraries it does not need to (at least on OpenSolaris anyway) to ECL is linking to libintl.so but does not need to (at least on OpenSolaris anyway)

comment:2 Changed 10 years ago by drkirkby

  • Description modified (diff)

comment:3 Changed 10 years ago by drkirkby

  • Report Upstream changed from N/A to Reported upstream. Little or no feedback.

comment:4 Changed 8 years ago by roed

  • Report Upstream changed from Reported upstream. Little or no feedback. to Reported upstream. No feedback yet.

comment:5 Changed 7 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:6 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:7 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:8 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:9 Changed 5 years ago by chapoton

  • Description modified (diff)

comment:10 Changed 6 weeks ago by mkoeppe

  • Cc dimpase added
  • Milestone changed from sage-6.4 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

Outdated spkg or build system ticket, should be closed

Note: See TracTickets for help on using tickets.