relocation error during execution



I was able to build gtk 0.99.7 fine on solaris 2.5.1 with the following
configure command:

	./configure --prefix=/export/home/net/pcrosby/misc

I made my makefile point to the right libraries:

CC=gcc
CFLAGS=-Wall -g -I/export/home/net/pcrosby/misc/include
LIBS=-L/export/home/net/pcrosby/misc/lib
-R/export/home/net/pcrosby/misc/lib -lgtk -lgdk -lglib -lX11 -lm

I added /export/home/net/pcrosby/misc/lib to my LD_LIBRARY_PATH.  When I
try to run my program (which works fine on linux at home), I get the
following error:

ld.so.1: ./newman: fatal: relocation error: symbol not found:
gtk_object_check_cast: referenced in ./newman
Killed

any ideas?

Thanks.

Patrick

-- 
Patrick Crosby                   pcrosby@neog.com
Neoglyphics Media Corporation    http://www.neog.com



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