Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 3 4 [5] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: pkgconfig, answered from a different thread< Next Oldest | Next Newest >
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 13 2008,04:52 QUOTE

When I try to compile using the cairo-1.2 extension make fails compiling the libexif-gtk library with the message:

Code Sample
gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -o .libs/test-libexif-gtk test-libexif-gtk.o  ../libexif-gtk/.libs/libexif-gtk.so -L/opt/gtkam/lib -L/opt/cairo-1.2/lib -L/opt/gtk+-2.10/lib /opt/gtk+-2.10/lib/libgtk-x11-2.0.so /opt/gtk+-2.10/lib/libgdk-x11-2.0.so /opt/gtk+-2.10/lib/libatk-1.0.so /opt/gtk+-2.10/lib/libgdk_pixbuf-2.0.so /opt/gtk+-2.10/lib/libpangocairo-1.0.so /opt/gtk+-2.10/lib/libpango-1.0.so /opt/cairo-1.2/lib/libcairo.so /opt/gtk+-2.10/lib/libgobject-2.0.so /opt/gtk+-2.10/lib/libgmodule-2.0.so -ldl /opt/gtk+-2.10/lib/libglib-2.0.so /opt/gtkam/lib/libexif.so -lm -Wl,--rpath -Wl,/opt/gtkam/lib
/opt/cairo-1.2/lib/libcairo.so: undefined reference to `FT_GlyphSlot_Embolden'
collect2: ld returned 1 exit status
make[2]: *** [test-libexif-gtk] Error 1
make[2]: Leaving directory `/mnt/hdb/libexif-gtk-0.3.5/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/hdb/libexif-gtk-0.3.5'
make: *** [all] Error 2
dsl@box:/mnt/hdb/libexif-gtk-0.3.5$


I had encountered this before your explanation of your compiling method. I have checked this under 3.11 using a base frugal installation and only cairo1.2, gtk+-2.10, xorg72 * compile3.3.5. I redid the symlinks in /opt/bin to point to the fc & freetype files in cairo.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: May 13 2008,05:00 QUOTE

Quote
/opt/cairo-1.2/lib/libcairo.so: undefined reference to `FT_GlyphSlot_Embolden'
collect2: ld returned 1 exit status

- I believe this is because libcairo is trying to use the freetype/fontconfig libs in the base dsl. You could try either:

1. Move "/opt/cairo-1.2/lib" above "/usr/lib" in /etc/ld.so.conf and then "sudo ldconfig"

or

2. [Brute Force method] delete the freetype/fontconfig libs in /usr/lib then "sudo ldconfig"

..and then try make again.

BTW, once compiled, the gtkam *uci I made starts up without touching /etc/ld.so.conf or deleting the freetype/fontconfig libs in /usr/lib
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 13 2008,07:40 QUOTE

OK,

Finally got it compiled. Then got the error:

Code Sample
dsl@box:/opt/gtkam/bin$ gtkam
gtkam: relocation error: /opt/gtk+-2.10/lib/libgobject-2.0.so.0: undefined symbol: g_regex_unref

when I ran it. Sorted this by moving /opt/gtk+-2.10/lib above /urs/lib in ld.so.conf & running ldconfig.

Now to try a reboot......

does the same - still need to edit ld.so.conf
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: May 13 2008,09:26 QUOTE

I had been starting gtkam with "LD_LIBRARY_PATH=/opt/gtkam/lib /opt/gtkam/bin/gtkam" and did not get this error, but you could try "LD_LIBRARY_PATH=/opt/gtkam/lib:/opt/gtk+-2.10/lib /opt/gtkam/bin/gtkam" or put symlinks to /opt/gtk+-2.10/lib/glib2* in /opt/gtkam/lib
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 22 2008,06:05 QUOTE

Juanito - thanks for all the help. An update version of gtkam should be in testing soon - along with gnokii.
Back to top
Profile PM 
24 replies since May 08 2008,09:26 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 3 4 [5] >/
reply to topic new topic new poll
Quick Reply: pkgconfig

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code