ports/126532: do not found libtclxmlstub
yves guerin
yvesguerin at yahoo.ca
Thu Aug 14 13:40:10 UTC 2008
>Number: 126532
>Category: ports
>Synopsis: do not found libtclxmlstub
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 14 13:40:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: yves guerin
>Release: 6.3 release p2
>Organization:
>Environment:
FreeBSD pbsd.muhc.mcgill.ca 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #2: Wed Aug 13 14:10:36 EDT 2008 root at pbsd.muhc.mcgill.ca:/usr/src/sys/i386/compile/PATRIOTEBSD i386
>Description:
try to compile the tclxml-libxml2 from the ports
[root at pbsd /usr/ports/devel/tclxml-libxml2]# make
===> Building for tclxml-libxml2-3.1_1
rm -f libTclXML_libxml23.1.so
ld -Bshareable -x -o libTclXML_libxml23.1.so tcllibxml2.o docObj.o -L/usr/local/lib -ltclstub84 -L/usr/local/lib -lxml2 -LNONE/lib/Tclxml2.6 -lTclxmlstub2.6
ld: cannot find -lTclxmlstub2.6
*** Error code 1
Stop in /usr/ports/devel/tclxml-libxml2/work/tclxml-3.1/libxml2.
*** Error code 1
Stop in /usr/ports/devel/tclxml-libxml2.
>How-To-Repeat:
try to compile the port tclxml-libxml2
>Fix:
I did a find for the Tclxmlstub2.6
find /usr -iname "*tclxml*"
/usr/local/include/tclxml.h
/usr/local/lib/TclxmlConfig.sh
/usr/local/lib/Tclxml2.6
/usr/local/lib/Tclxml2.6/libTclxml2.6.so
/usr/local/lib/Tclxml2.6/libTclxmlstub2.6.a
looking at the command line:
ld -Bshareable -x -o libTclXML_libxml23.1.so tcllibxml2.o docObj.o -L/usr/local/lib -ltclstub84 -L/usr/local/lib -lxml2 -LNONE/lib/Tclxml2.6 -lTclxmlstub2.6
may be the -LNONE/lib/Tclxml2.6 must be replace by -L/usr/local/lib/lib/Tclxml2.6
I did not test this solution, because I don't know on how to modify the Makefile, sorry.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list