Ticket #9943 (new defect)

Opened 3 years ago

Last modified 13 months ago

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-5.11
Component: build Keywords:
Cc: Work issues:
Report Upstream: Reported upstream. No feedback yet. Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by drkirkby) (diff)

 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

comment:1 Changed 3 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 3 years ago by drkirkby

  • Description modified (diff)

comment:3 Changed 3 years ago by drkirkby

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

comment:4 Changed 13 months ago by roed

  • Report Upstream changed from Reported upstream. Little or no feedback. to Reported upstream. No feedback yet.
Note: See TracTickets for help on using tickets.