Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Ross Smith" To: Subject: 1.3.3: ld: cannot find a library that is there! Date: Thu, 1 Nov 2001 13:52:51 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <1004649393.24001.ezmlm@sources.redhat.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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_SO_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 c++ -DHAVE_CONFIG_H -I. -DICU_DATA_DIR=\"/usr/local/lib/icu/2.0/\" -DUDATA_SO_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 -L. .../ld: cannot find -licudata So, ld can't find the library when it's sitting right in front of it. What am I missing? -Ross -- 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/