Problem with -lselinux errors when compilng apps

Stephen So S.So at griffith.edu.au
Mon Jun 28 05:17:47 UTC 2004


Hi everyone,

I'm running Fedora Core 2 (with selinux disabled by default) and been 
having some problems compiling programs like superkaramba and amarok.  
During the compiling process, I get this error:

/usr/bin/ld: cannot find -lselinux
collect2: ld returned 1 exit status

It happens when I try to compile superkaramba and amarok (and also with 
komba2 as well).

The logs are below.  Note that there is nowhere where there is 
-lselinux.  Why do I get this selinux problem?

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  
-Wnon-virtual-dtor -Wno-long-long -Wundef -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new    -o 
superkaramba -Wl,-export-dynamic  -R /usr/lib -R /usr/lib/qt-3.3/lib -R 
/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib/qt-3.3/lib -L/usr/lib  
-L/usr/lib/python2.3/config   main.o karamba.o meter.o bar.o sensor.o 
datesensor.o textlabel.o memsensor.o uptimesensor.o cpusensor.o 
networksensor.o imagelabel.o graph.o xmmssensor.o programsensor.o 
disksensor.o sensorparams.o sensorsensor.o textfilesensor.o clickarea.o 
noatunsensor.o karambarootpixmap.o clickmap.o rsssensor.o textfield.o 
taskmanager.o showdesktop.o richtextlabel.o karambasessionmanaged.o 
welcomeform.o systemtray.o cpusensor.moc.o sensor.moc.o datesensor.moc.o 
programsensor.moc.o bar.moc.o rsssensor.moc.o imagelabel.moc.o 
clickmap.moc.o sensorsensor.moc.o clickarea.moc.o systemtray.moc.o 
welcomeform.moc.o memsensor.moc.o disksensor.moc.o meter.moc.o 
xmmssensor.moc.o networksensor.moc.o textfilesensor.moc.o  -lkio -lXpm 
-lkdeui  -lpython2.3 -lpthread -lm -lutil -ldl
/usr/bin/ld: cannot find -lselinux
collect2: ld returned 1 exit status
make[3]: *** [superkaramba] Error 1


Best regards,

Steve.





More information about the fedora-list mailing list