Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adobe 7 on Solaris, then gtk, cairo, and libiconv error

Status
Not open for further replies.

Shrp

IS-IT--Management
Jan 9, 2002
82
US
I'm trying to build the latest Adobe Acrobat Reader 7.x for Solaris 9.

I install it from the Adobe distribution and get the following error when I run it:
% /opt/Adobe/Acrobat7.0/bin/acroread
ld.so.1: /opt/Adobe/Acrobat7.0/Reader/sparcsolaris/bin/acroread: fatal: relocation error: file /usr/local/lib/libgtk-x11-2.0.so.0: symbol gdk_font_equal: referenced symbol not found
Killed

So I tried to rebuild gtk+, and I get the following error when I run 'make':

...
checking for BASE_DEPENDENCIES_CFLAGS...
checking for BASE_DEPENDENCIES_LIBS...
sh: gnome-config: not found
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
...

So I try to build cairo (since I have glib, atk, and pango updated, I believe), and I get the following error when I run 'make':

gcc -g -O2 -o .libs/imagediff imagediff.o ./.libs/libcairotest.a ../src/.libs/libcairo.so -L/usr/local/lib -lpng12 /usr/local/lib/libfontconfig.so -L/usr/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lz -lpthread -lm -R/usr/local/lib
Undefined first referenced
symbol in file
libiconv /usr/local/lib/libfontconfig.so
libiconv_open /usr/local/lib/libfontconfig.so
ld: fatal: Symbol referencing errors. No output written to .libs/imagediff
collect2: ld returned 1 exit status
make[2]: *** [imagediff] Error 1
make[2]: Leaving directory `/opt/cairo-1.0.0/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/cairo-1.0.0'
make: *** [all] Error 2

How can I get past this iconv error so that I can eventually build cairo, then gtk, then Adobe? Or am I on the wrong track completely? Thanks!!
 
Have you tried looking for precompiled packages, perhaps at SunFreeware.com? Makes for a much easier life, if they're there!

Annihilannic.
 
Yes, I've installed most of these from sunfreeware.com. When they wouldn't work correctly, then I'd attempt (as in this case) to compile from source, often from a newer version.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top