delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/27/13:09:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SARE_TO_EMPTY,TW_BX,TW_IB,TW_LX,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Tue, 27 Jul 2010 18:42:12 +0200
From: cygwin DOT 20 DOT maillinglist AT spamgourmet DOT com
Message-ID: <20100727164212.97850@gmx.net>
MIME-Version: 1.0
Subject: ld didn't find self compiled libxml
To: "cygwin AT cygwin DOT com" <>
X-Spamgourmet:
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi folks

I'm not an expert on compiling things for cygwin. Normally configure, make, make install work fine. But not now.

I tried to compile a program which needs libxml support.

I compiled and installed the libxml myself. While running configure everything is ok. The libxml is found. But when I try to build the program
I get the following error.

-------------------------------------------------------
$ make
make  all-am
make[1]: Entering directory `/cygdrive/c/pm/fromsource/xml2-0.4'
gcc  -g -O2   -o xml2.exe  xml2.o -lxml
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lxml
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [xml2.exe] Fehler 1
make[1]: Leaving directory `/cygdrive/c/pm/fromsource/xml2-0.4'
make: *** [all] Fehler 2
-------------------------------------------------------

What could I do that the libxml is linked to the program?
Must I convert the libxml to a dll?

Thank for any hint
   Franz



-- 
IMPORTANT
I will read replies only from the mailing list. 
If you send me email directly it will be deleted.


Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019