From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ldg@ulysium.net Newsgroups: gmane.os.tru64.managers Subject: unresolved symbols with iconv Date: Mon, 17 Feb 2003 19:49:52 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045529297 29888 80.91.224.249 (18 Feb 2003 00:48:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2003 00:48:17 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18kvvj-0007lt-00 for ; Tue, 18 Feb 2003 01:48:16 +0100 Original-Received: (qmail 30763 invoked by uid 5); 18 Feb 2003 00:50:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 30754 invoked by uid 49493); 18 Feb 2003 00:50:27 -0000 Original-Received: from ldg@ulysium.net by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.2/5.0):. Processed in 0.392313 secs); 18 Feb 2003 00:50:27 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 18 Feb 2003 00:50:27 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAH004CZBO1XT@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 17 Feb 2003 19:50:26 -0500 (EST) Original-Received: from mail.ao.net (mail.ao.net [205.244.242.23]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTPS id <0HAH00733BNF4Y@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 17 Feb 2003 19:50:04 -0500 (EST) Original-Received: from [63.79.143.95] (port094.dyn.ao.net [63.79.143.95]) by mail.ao.net (8.12.3/8.12.3/Debian -4) with ESMTP id h1I0nweN002165; Mon, 17 Feb 2003 19:49:59 -0500 Original-To: Tru64 Unix managers User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 Xref: main.gmane.org gmane.os.tru64.managers:3353 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3353 Hi all, I've been browsing all the archives and everything I could find about my problem and didn't find a hint to help me solve it. I even posted on the apache users list and there seem to be hardly any traffic there. I'm trying to compile apache2 on tru64 5.1b. I have installed most of the open source rpms from the cd and it's creating a confusion with iconv. When trying to compile apache2 (2.0.44) with any of the --enable-static- options (such as --enable-static-htpasswd), I get errors from unresolved symbols for iconv, iconv_open and iconv_close, the errors happen I think when linking, during the "make all in support" part. If I don't add any --enable-static- options, then it compiles all the way unless I also add --enable-mem-cache or --enable-asapi, which also cause other errors but unrelated to iconv (I will try to solve this later). When it compiles all the way and I try to start it, the error from the unresolved symbol on iconv happens then. I also tried compiling the latest gcc and it has the same problem with iconv. A little more poking around made me think there must be some kind of confusion with the iconv libraries, due to the fact that an other set of headers/libs was added by the open source packages, so I do have an iconv.h in both /usr/include and /usr/local/include and there is a libiconv.a in both /usr/ccs/lib and /usr/local/lib (and probably more duplicate files involved with iconv). I'm not a C programmer and I wouldn't know what to do to fix this. What I'm wondering is if it's actually possible to let both versions of iconv coexist on the system, or do I have to remove an instance of them and how to go about this. Is there any way to prevent this confusion, short of removing something, so I can compile things properly? I have a few more issues to resolved but I'll start with this one, thanks to all in advance for any helpful hints.. -- mailto:dg@ulysium.net