freetype
[Top][All Lists]
Advanced

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

Re: [ft] Linking custom code to right Freetype version


From: Werner LEMBERG
Subject: Re: [ft] Linking custom code to right Freetype version
Date: Fri, 23 Jun 2017 07:06:57 +0200 (CEST)

>> `make install' by default installs into `/usr/local'.  I guess your
>> system is set up so that the dynamic linker looks into `/usr'
>> first.  Since virtually all GNU/Linux platforms come with
>> `libfreetype' in `/usr', this version will be linked to.  You can
>> use the `ldd' program to check which dynamic libraries your
>> application is using.
> 
> /usr/local/lib normally has priority over /usr/lib (check
> your /etc/ld.so.conf and /etc/ld.so.conf.d/* setups).

My mistake.  I didn't mean the dynamic linker at runtime but rather
the linker used during compilation, which also hardcodes the paths to
the DLLs.  It propably helps to set a proper `-L' argument to the
application's compilation command.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]