Hi, I'm trying to create a port of open-vmware-tools, and since this is my first port, I'm getting stuck at basic stuff, as I believe it is.
open-vmware-tools needs gtk, and its configure script uses pkg-config --libs to determine which packages should use. $ pkg-config --libs gtk+-2.0 -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lXinerama -lXi -lXrandr -lXext -lXcursor -lXfixes -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lcairo -lfreetype -lfontconfig -lexpat -lglitz -lpng -lz -lm -lXrender -lX11 -lXau -lXdmcp $ -lgtk-x11-2.0, however, isn't created when we install x11/gtk+2. $ grep lib/libgtk /var/db/pkg/gtk+2-2.10.13/+CONTENTS lib/libgtk-x11-2.0.a lib/libgtk-x11-2.0.la @lib lib/libgtk-x11-2.0.so.1000.13 $ I've tried creating a symlink for libgtk-x11-2.0.so, and rerunning ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib, but ld still can't find libgtk-x11-2.0.so. $ gcc -o xx xx.c -lgtk-x11-2.0 /usr/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status $ Can I have a tip of your knowledge ? Regards,
