On 12/22/2015 06:46 PM, Eneko Castresana wrote:
Sorry, I meant to say "in case you didn't install to the standard
directories"; that needs to be done so that the shared libraries can be
found in non-standard dirs.
2015-12-23 0:38 GMT+01:00 Eneko Castresana<ecv80...@gmail.com>:
>I had exactly this problem today, and as a newcomer found it all extremely
>frustrating, but I manged to figure it out at last (you got way further
>than me by the beginning, BTW):
>add "use_sharedlib=yes" to scons
>And just in case you installed to /usr/local, remember to update
>/etc/ld.so.conf and use ldconfig
Hi Eneko, and thanks! for responding.
I build GIMP from git in a prefix to avoid interfering with GIMP 2.8
installed from Gentoo portage, and so I'm not sure that modifying
/etc/ld.so.conf is the right thing to do.
I have three different installations of GIMP in three different
prefixes. So I want libmypaint in prefix1 to link with GEGL in prefix1,
and GIMP in prefix1 to look for libmypaint-gegl also and only in
prefix1, and so forth for the other two prefixes.
Here's how I set up the first prefix:
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
Here's the command to build libmypaint:
scons prefix=$HOME/data/gimp/gimpdefault/install use_sharedlib=yes
libmypaint-gegl.so is located in
/home/elle/data/gimp/gimpdefault/install/lib/, along with libmypaint.so
and the two corresponding ".a" files.
But GIMP still isn't finding libmypaint-gegl.so.
gimp-developer-list mailing list
List address: firstname.lastname@example.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list