Ticket #204 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

Interaction between installed and compiled libs

Reported by: dirk Owned by: unassigned
Priority: minor Milestone: 2.0 Release
Component: Build Version: 2.0
Keywords: Cc:

Description (last modified by vossg) (diff)

I've just had to uninstall my OpenSG 1.8 from the system, as scons was picking up the installed 1.8 libs instead of the newly built 2.0 libs, and couldn't link anything.

I'm thinking that the order of lib dirs in linking is not conservative enough: "-L/usr/lib64 -Lbuild.linux.g++/instlinks/lib64/debug" might pick up an installed lib instead of the just compiled one.

Attachments

Built_libs_first_in_libpath.diff Download (2.5 KB) - added by cneumann 7 years ago.
Patch - put installed lib's path as first element in LIBPATH

Change History

Changed 7 years ago by cneumann

Patch - put installed lib's path as first element in LIBPATH

comment:1 Changed 6 years ago by vossg

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

closed for now, should not occur with cmake as it links library by file and not by -l

Note: See TracTickets for help on using tickets.