From owner-freebsd-ports Mon Feb 18 10: 5:46 2002 Delivered-To: freebsd-ports@freebsd.org Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by hub.freebsd.org (Postfix) with ESMTP id 8A55837B405 for ; Mon, 18 Feb 2002 10:05:38 -0800 (PST) Received: from city.dbnet.ece.ntua.gr (city.dbnet.ece.ntua.gr [147.102.12.38]) by ulysses.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id g1II5Ye41289 for ; Mon, 18 Feb 2002 20:05:35 +0200 (EET) Received: (from george@localhost) by city.dbnet.ece.ntua.gr (8.11.6/8.11.6) id g1II5Ym00339 for ports@FreeBSD.org; Mon, 18 Feb 2002 20:05:34 +0200 (EET) (envelope-from george) Date: Mon, 18 Feb 2002 20:05:34 +0200 From: Yiorgos Adamopoulos To: ports@FreeBSD.org Subject: ports/msql problem Message-ID: <20020218200534.A287@dblab.ece.ntua.gr> Reply-To: adamo@dblab.ece.ntua.gr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-URL: http://home.eu.org/~adamo Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi! ports/msql installs the small interpreter named lite. Now lite installed from ports, depends on the shared library liblite.so.1. This is not the default behavior, since building mSQL by hand shows that by default lite is a static binary. And now the tricky problem: If lite is static everything works OK. If lite is dynamically linked (as ports/msql does) at least function substr does not work as expected. Doing strace on the lite interpreter did not show anything that could be used to trace the problem (liblite.so seems to be loaded OK). So I think you must change the port to build static binaries. uname -a FreeBSD city.dbnet.ece.ntua.gr 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Feb 18 19:36:31 EET 2002 george@city.dbnet.ece.ntua.gr:/usr/obj/usr/src/sys/GENERIC i386 gcc -v Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] -- Yiorgos Adamopoulos -- #include adamo@dblab.ece.ntua.gr -- Knowledge and Data Base Systems Laboratory, NTUA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message