Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 17:08:34 -0800 (PST)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        ejc@FreeBSD.ORG
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/x11-toolkits/tk81/patches patch-ab
Message-ID:  <199901220108.RAA21128@vader.cs.berkeley.edu>
In-Reply-To: <199901211735.JAA08259@freefall.freebsd.org> (ejc@FreeBSD.ORG)

next in thread | previous in thread | raw e-mail | index | archive | help
 *   install libtk as libtk81.so.1 not libtk8.1.so.1

Are you sure this is correct?  It still uses a soname of
libtk8.1.so.1.  That means that if you link against libtk81.so, the
binary won't be able to find libtk81.so.1 in runtime (since it will be 
looking at libtk8.1.so.1).

Looking at patch-ab (but not the file it's patching), shouldn't you go
about changing TK_LIB_FILE?

By the way, it fails build in 2.2:

===
rm -f libtk8.1.so.1.0
ld -Bshareable -x -o libtk8.1.so.1.0 tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o  tkColor.o tkConfig.o tkCursor.o tkError.o tkEvent.o  tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o  tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o  tkSelect.o tkUtil.o tkVisual.o tkWindow.o  tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixConfig.o  tkUnixCursor.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o  tkUnixFocus.o tkUnixFont.o tkUnixInit.o tkUnixKey.o tkUnixMenu.o  tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o  tkUnixSend.o tkUnixWm.o tkUnixXId.o tkButton.o tkEntry.o tkFrame.o tkListbox.o  tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o  tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o  tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o  tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTe!
xtIndex.o  tkTextMark.o tkTextTag.o tkTextWind.o 
ln -sf libtk8.1.so.1.0 libtk81.so
: libtk8.1.so.1.0
cc  tkAppInit.o -L/tmp/usr/ports/x11-toolkits/tk81/work/tk8.1b1/unix -ltk81 -L/usr/local/lib -ltcl81  -L/usr/X11R6/lib -lX11  -lm -lc   -o wish
ld: -ltk81: no match
*** Error code 1
===

We don't support 2.2 anymore, but it seems all this could be avoided
if you just change TK_LIB_FILE.

Satoshi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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