In ports/graphics/xpm/work/xpm-3.4k/sxpm/Makefile we see this: cc -o sxpm -O2 -L/usr/X11R6/lib sxpm.o \ -L../lib -L/usr/X11R6/lib -lXpm -lXt -lSM -lICE -lXext -lX11 \ -lxpg4 -Wl,-R,/usr/X11R6/lib:/usr/X11R6/lib sxpm.o: Undefined symbol `_XpmReadFileToPixmap' \ referenced from text segment sxpm.o: Undefined symbol `_XpmCreatePixmapFromData' \ referenced from text segment Need to remove first of the 2 -L/usr/X11R6/lib as we should trust our local fresh compiled library, rather than system lib that might be old/damaged/wrong format. Fix: (BTW I notice PORTOBJFORMAT definition in ports/Mk/bsd.port.mk, but think it's use not appropriate here, as regardless of objformat, it's still better to link against local lib. ) Here is new patch file for ports/graphics/xpm/patches/patch-aa ------- How-To-Repeat: Not sure if this sufficient, & not only way, but try: Have elf type libXpm libs in /usr/X11R6, set objformat aout make
State Changed From-To: open->closed Committed, thanks.