Re: What is the best/recommended technique for referencing development libraries?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/11/14 04:20, Patrick Doyle wrote:
But now I would like to compile a custom version of libzbar, and tell
my custom gstzbar plugin to reference that library instead of the one
install in /usr/lib.

What's the best/recommended way to do this?

So you want to link something in /usr/local instead of /usr/lib and use run-time loading. That means you want to use dynamic linking, which is outside the scope of autoconf itself but addressed much more reliably with libtool. I recommend you use that.

Regards, Thomas
--
Thomas Jahns
HD(CP)^2
Abteilung Anwendungssoftware

Deutsches Klimarechenzentrum GmbH
Bundesstraße 45a • D-20146 Hamburg • Germany

Phone:  +49 40 460094-151
Fax:    +49 40 460094-270
Email:  Thomas Jahns <jahns@xxxxxxx>
URL:    www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux