GNU bug report logs - #14519
Missing dlname='' in uninstalled .la file

Previous Next

Package: libtool;

Reported by: Ryan Lortie <desrt <at> desrt.ca>

Date: Fri, 31 May 2013 14:02:01 UTC

Severity: normal

To reply to this bug, email your comments to 14519 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#14519; Package libtool. (Fri, 31 May 2013 14:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ryan Lortie <desrt <at> desrt.ca>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Fri, 31 May 2013 14:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ryan Lortie <desrt <at> desrt.ca>
To: bug-libtool <at> gnu.org
Subject: Missing dlname='' in uninstalled .la file
Date: Fri, 31 May 2013 09:51:12 -0400
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.