Menu

#82 LDFLAGS not honored

1.4.0
wont-fix
None
5
2024-03-13
2015-07-13
Emiliano
No

When building software on netbsd, the linking stage requires the use of rpath
as described in

http://www.netbsd.org/docs/elf.html#elf-rpath

The easiest way to achieve this is to pass -Wl,-R/some/dir flags with LDFLAGS
to the configure script. However this variable (though advertised in the help
of the main configure script) is not honored in tkimg, leading to being unable
to load it with messages like

couldn't load file "/home/emiliano/tkimg-code-392-trunk/dted/libtkimgdted1.4.4.so": Shared object "libX11.so.7" not found

despite being configured with LDFLAGS="-Wl,-R/usr/X11R7/lib"

So far this is the only problem on this platform, since the libraries loads
and run if LD_LIBRARY_PATH is set to the missing directories

Discussion

  • Paul Obermeier

    Paul Obermeier - 2024-03-13
    • status: open --> wont-fix
    • assigned_to: Paul Obermeier
     
  • Paul Obermeier

    Paul Obermeier - 2024-03-13

    Old Tcl and Img version.
    Please reopen, if relevant with Tcl >= 8.6 and current Img.

     

Log in to post a comment.

MongoDB Logo MongoDB