Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 16:10:17 +0200
From:      Harald Oehlmann <harald.oehlmann@elmicron.de>
To:        Jan Nijtmans <jan.nijtmans@gmail.com>, tcltk@FreeBSD.org,  mw@barfooze.de, Reinhard Max <max@suse.de>
Subject:   BSD build issue
Message-ID:  <537A10C9.3050208@elmicron.de>

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

Reinhard and me try to test the revised socket code on bsd.
Steve reported test failures there.

Today, ente (mw@barfooze.de) tested tcl branch "bug-13d3af3ad5" on FreeBSD:

https://core.tcl.tk/tcl/info/9b3b3adf47823f5980b57a1df6432be39c5858c3

He got the following link error:
cd unix
./configure
make
...
gcc -DNDEBUG -O2  -pipe  tclAppInit.o
-L/tmp/Tcl_Source_Code-9b3b3adf47823f59/_build -ltcl86 libtclstub86.a
-lz -lpthread -lm   -Wl,-rpath,/usr/local/lib -o tclsh
/usr/bin/ld: cannot find -ltcl86

There is:
mw@furnace:/tmp/Tcl_Source_Code-9b3b3adf47823f59 $ file libtcl86.so.1
libtcl86.so.1: ELF 64-bit LSB shared object, x86-64, version 1
(FreeBSD), dynamically linked, not stripped

but no libtcl86.so

Adding a symlink fixes the issue.

Ente reported the following:

the FreeBSD ports tree apparently has a patch that creates a symlink
http://svnweb.freebsd.org/ports/head/lang/tcl86/files/patch-unix-Makefile.in?view=markup
line 41, I suppose

Reinhard observed this:
For FreeBSD unix/tcl.m4 sets:
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'

Jan, maybee you may look after the issue.

Thank you and best regards,
Harald



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