GNOME Bugzilla – Bug 760442
Cannot run Epiphany in JHBuild prefix if GD Graphics Library is installed
Last modified: 2016-01-13 16:47:17 UTC
Epiphany requires libgd.so installed in its private directory to start. It uses RUNPATH to add its private directory to the library search path. Unfortunately, there is an unrelated library that is also called libgd.so: https://libgd.github.io/. As RUNPATH can be overrided by LD_LIBRARY_PATH environment variable, Epiphany will fail to start if an unrelated libgd.so is installed in LD_LIBRARY_PATH. $ epiphany /home/lantw44/gnome/devinstall/bin/epiphany: Undefined symbol "gd_two_lines_renderer_new" $ ldd `which epiphany` | grep libgd.so libgd.so => /usr/local/lib/libgd.so (0x800912000)
Do you have any suggestions? To be clear, this affects only Epiphany? You can run other applications using GNOME libgd?
(In reply to Michael Catanzaro from comment #1) > Do you have any suggestions? You forgot to pass "static" to LIBGD_INIT() in configure.ac > To be clear, this affects only Epiphany? You can run other applications > using GNOME libgd? They link statically to libgd.
Thanks.
The following fix has been pushed: 911ccf3 build: static link with libgd
Created attachment 318978 [details] [review] build: static link with libgd