From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 00:47:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F225116A402 for ; Mon, 5 Mar 2007 00:47:35 +0000 (UTC) (envelope-from fred1z@hotmail.com) Received: from bay0-omc2-s36.bay0.hotmail.com (bay0-omc2-s36.bay0.hotmail.com [65.54.246.172]) by mx1.freebsd.org (Postfix) with ESMTP id E067E13C442 for ; Mon, 5 Mar 2007 00:47:35 +0000 (UTC) (envelope-from fred1z@hotmail.com) Received: from hotmail.com ([64.4.51.33]) by bay0-omc2-s36.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sun, 4 Mar 2007 16:35:36 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 4 Mar 2007 16:35:36 -0800 Message-ID: Received: from 64.4.51.220 by by107fd.bay107.hotmail.msn.com with HTTP; Mon, 05 Mar 2007 00:35:34 GMT X-Originating-IP: [82.238.146.19] X-Originating-Email: [fred1z@hotmail.com] X-Sender: fred1z@hotmail.com From: "ff b" To: freebsd-questions@freebsd.org Date: Mon, 05 Mar 2007 00:35:34 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 05 Mar 2007 00:35:36.0655 (UTC) FILETIME=[3141EDF0:01C75EBE] Subject: Undefined symbol "csin" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 00:47:36 -0000 Hi, I've compiled sources of a C library which is then used by a python library. Everything's ok at compile time but at runtime (of a python script using the python lib and thus the shared lib compiled from the C source), it tries to load the library I've compiled and failed with : Traceback (most recent call last): File "lp", line 1, in ? from cvxopt.base import matrix ImportError: /my/local/path/lib/python/cvxopt/base.so: Undefined symbol "csin" >ldd /my/local/path/lib/python/cvxopt/base.so /my/local/path/lib/python/cvxopt/base.so: libm.so.4 => /lib/libm.so.4 (0x28172000) liblapack.so.4 => /usr/local/lib/liblapack.so.4 (0x28188000) libblas.so.2 => /usr/local/lib/libblas.so.2 (0x28573000) libg2c.so.2 => /usr/lib/libg2c.so.2 (0x285c1000) libgcc_s.so.1 => /usr/local/lib/gcc-4.2.0/libgcc_s.so.1 (0x285dd000) libc.so.6 => /lib/libc.so.6 (0x28077000) Looking at headers in /usr/include and /usr/local/include, I didn't find any (math) header with csin. What am I missing ? Are trigonometric functions on complex, implemented on freebsd ? Thanks! F. _________________________________________________________________ Win a Zune™—make MSN® your homepage for your chance to win! http://homepage.msn.com/zune?icid=hmetagline