Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <00b701c1648f$30519b40$e996603e@andy>
From: "Andreas Eibach" <a.eibach@gmx.net>
To: "Ross Smith" <lists@netebb.com>
Cc: <cygwin@cygwin.com>
References: <NDBBJINIMKJKPGEBBJLKGENMDOAA.lists@netebb.com>
Subject: Re: 1.3.3: ld: cannot find a library that is there!
Date: Sat, 3 Nov 2001 18:27:33 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700


----- Original Message -----
From: "Ross Smith" <lists@netebb.com>
To: <cygwin@sources.redhat.com>
Sent: Thursday, November 01, 2001 10:52 PM
Subject: 1.3.3: ld: cannot find a library that is there!


> I'm compiling IBM's icu 2.0 (http://oss.software.ibm.com/icu/) from cvs as
a precursor to porting xerces 1.5.2 to cygwin.
>
> I'm using cygwin 1.3.3 with all latest versions of everything.
>
> make stops at the first link, with:
>
>
c++ -DHAVE_CONFIG_H -I. -DICU_DATA_DIR=\"/usr/local/lib/icu/2.0/\" -DUDATA_S
O_SUFFIX=\".so\" -DU_COMMON_LIBNAME=\"libicuuc.so.20.0\"
>  -DUDATA_FILES -g -O2   -shared -Wl,-soname -Wl,libicuuc.so.20 -o
libicuuc.so.20.0 putil.o ...
> convert.o -L../data -L../stubdata -licudata -lm
> .../ld: cannot find -licudata
>
> I verified that ../stubdata/libicudata.so.lnk exists, and it links to
../stubdata/libicudt20l.so.
>
> So I tried to fix it with:
>
> % cd stubdata
> % rm libicudata.so
> % cp libicudt20l.so libicudata.so
>
> No luck.
>
> So I copied libicudata.so into the working directory, and added -L. to the
command line.
>
> % cd common
> % cp ../stubdata/libicudata.so .
> % make

You *DID* remember to run ldconfig -v after these modifications, didn't you?

Andreas


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

