Re: lib trouble in Linux

New Message Reply Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 05/03/2001 04:01:23


Have you tried rearranging the the link line with -lc at the end of the
library list.

Brian

Gernot Ziegler wrote:
>
> Hej guys !
>
> Hmmm, can you help me with this one ? :-)
>
> It has something to do with libc, right ?
> I have recently installed glibc2.2, maybe I should downgrade to glibc2.1
> again ?
>
> c++ -Wall -O3 -ffast-math -mpentiumpro -MD -DI386 -DLinux
> -I/usr/src/ikara/include/ -c SimpleTest.cpp
> c++ -Wall -O3 -ffast-math -mpentiumpro -MD -DI386 -DLinux
> -I/usr/src/ikara/include/ -c SinglePipe.cpp
> c++ SimpleTest.o SinglePipe.o -likara -L/lib -lc -lpfdu -lpfutil -lpf
> -lpfui -L/usr/X11R6/lib -lGLU -lGL -lXext -lXmu -lX11 -lm -ldl -o
> simple-test
> [root++at++a218 simple]# ./simple-test
> ./simple-test: error while loading shared libraries: /usr/lib/libpf.so.1:
> undefined symbol: stat
> ---
> (Another program has the exact same error, but worked before)
>
> Servus,
> Gernot
>
> /-----------------------------W-E-L-C-O-M-E------------------------------\
> T The Austria <=> Sweden connection..... T
> | E-Mail: gz++at++lysator.liu.se H
> O Homepage: http://www.lysator.liu.se/~gz E
> \------------------------------F-U-T-U-R-E-------------------------------/
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Graphics Guru Office:(301)572-3293 Fax: (603)250-0370 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device Drivers


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu May 03 2001 - 04:08:48 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.