On Wednesday 25 July 2001 00:27, Brandon wrote: > I'm beand new to Linux. Also, I've always been a scripting, never really > worked much with compiled code....so this is a prety basic question. > > I'm trying to build Pyshout, its a Python wrapper for libshout (a C API for > Icecast server). When I run make I get: > > gcc -shared pyshoutmodule.o -lshout -o pyshoutmodule.so > /user/bin/ld: cannot find -lshout > collect2: ld returned 1 exit status > make: *** [pyshoutshoutmodule.so] Error 1 > > I understand this much: The linker can't find a library it needs to build > the python shared object. Now, I have libshout installed...I installed the > libshout RPM. I saw in some of the C modules that there is a #include > <shout/shout.h>, so I placed the shout.h file in /user/include/shout. > > Generally speaking, what is going on here? > > > http://www.helsinki.fi/~pakaste/software.html 1. make sure you run ldconfig -v and that you can see the library 2. If you still have a problem try --with-ldflags=-Ldir(path to library) on the ./configure command line Civileme
