Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 13:35:58 GMT
From:      yves guerin <yvesguerin@yahoo.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126532: do not found libtclxmlstub
Message-ID:  <200808141335.m7EDZw1g071673@www.freebsd.org>
Resent-Message-ID: <200808141340.m7EDe5u1008302@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@pbsd.muhc.mcgill.ca:/usr/src/sys/i386/compile/PATRIOTEBSD  i386
>Description:
try to compile the tclxml-libxml2 from the ports

[root@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808141335.m7EDZw1g071673>