ld pkg-config gtk problem

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

ld pkg-config gtk problem

Postby jcfuller on Fri Apr 13, 2012 8:54 am

I probably am missing a library?
ld -s -o gtk01 gtk01.o -I/lib/ld-linux.so.2 `pkg-config --libs gtk+-2.0`
rerturns

ld: unrecognized option '-pthread'
ld: use the --help option for usage information

If I use the actual contents minus the -pthread all is fine and demo app runs.

ld -s -o gtk01 gtk01.o -I/lib/ld-linux.so.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0

James
jcfuller
Level 1
Level 1
 
Posts: 8
Joined: Fri Apr 13, 2012 8:41 am

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: bobww99 and 6 guests