#33421: libglade2 looks for libexpat in the wrong location ----------------------------------------+----------------------------------- Reporter: cwacek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: libglade2,libtool,libexpat | Port: libglade2 ----------------------------------------+----------------------------------- When attempting to install libglade2 on OS X Lion (macports 2.0.4), libtool fails to find libexpat because it's searching in /usr/local/lib instead of /opt/local/lib. {{{ :info:build /bin/sh ./libtool --tag=CC --mode=link /usr/bin/llvm-gcc-4.2 -pipe -O2 -arch x86_64 -Wall -std=c9x -L/opt/local/lib -arch x86_64 -o test-libglade test-libglade.o glade/libglade-2.0.la -L/opt/local/lib -lxml2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl :info:build libtool: link: cannot find the library `/usr/local/lib/libexpat.la' or unhandled argument `/usr/local/lib/libexpat.la' }}} -- Ticket URL: <https://trac.macports.org/ticket/33421> MacPorts <http://www.macports.org/> Ports system for Mac OS