GNU bug report logs -
#14519
Missing dlname='' in uninstalled .la file
Previous Next
Full log
View this message in rfc822 format
hi,
It seems that if I use libtool to generate a .la file that won't be
installed (from noinst_LTLIBRARIES or check_LTLIBRARIES for example)
then automake doesn't pass the -rpath parameter to libtool.
(I think) libtool then assumes that, because this library will never be
installed, nobody will ever want to open it with libltdl. It writes
dlname='' to the .la file instead of the real name. This happens even
if -module is explicitly given. Having an empty dlname='' causes
libltdl not to be able to open the module.
My intention was to build this library to be dlopen()ed by a testcase,
so I think the dlname='' line should always be correctly filled in -- or
at least when using '-module'.
Thanks in advance.
This bug report was last modified 12 years and 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.