Sem_init (code) from /usr/local/lib/


I try to compile vlc on hp-ux 11.00 with SDL support, but there a some

the program vlc starts, but core dumps with following message:

/usr/lib/ Unresolved symbol: sem_init (code) from
IOT Abfrage (Hauptspeicherauszug ausgegeben)

System Information:

SDL-1.2.4 with thread support enabled

any help ?

/usr/lib/ Unresolved symbol: sem_init (code) from

Is SDL linking with the POSIX thread library (which apparently showed up
in HP-UX v11.0)? I’m not sure if the library name would be “pthread” or
what, but this is probably a simple addition to the linker command line.


work now with LDFLAGS="-L/usr/lib -lpthread -lrt"

Can you tell me the host/os/etc that the configure script thinks your
system is? I can add a case so it knows to link against those libraries,