Opened 8 years ago

Closed 7 years ago

#204 closed defect (fixed)

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)

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 (1)

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

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by cneumann

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

comment:1 Changed 7 years ago by vossg

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

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.