gtk+-1.0.0 - examples compile but don't run



I just built gtk+-1.0.0 under Solaris 2.6. After installing, I went to
the examples/helloworld directory and issued a "make", which worked fine.
However, when I tried to run the resulting binary, I get the following
error:

    ld.so.1: ./helloworld: fatal: relocation error: file ./helloworld: 
    symbol __register_frame_info: referenced symbol not found

I also tried the initial "simplest program possible" from the online 
tutorial at www.gtk.org, and got the same error. I looked through the 
online FAQ, and found nothing that looked relevant.

Has anyone seen something similar, and if so, what's the fix?

I built gtk with ./configure --prefix=/usr/local/gnu/test. I've set the
following in my environment:

    PATH=/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:\
    /usr/local/gnu/test/bin

    LD_LIBRARY_PATH=/usr/local/lib:/usr/openwin/lib:/usr/dt/lib:\
    /usr/local/gnu/test/lib

I compiled with gcc 2.8.0 and gnu make 3.76.1.

Thanks.


--
John Abreau / UNIX Systems Administrator / Polaroid / abreauj@polaroid.com
1 Upland Road, Building N4 / Norwood MA 02062 / 781-386-5118




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