|
Boost : |
Subject: Re: [boost] compiling Boost boost_1_45_0 regex with icu (redhat). Aproblem and its fix.
From: Candid Shot (candid_shot_1_at_[hidden])
Date: 2011-01-04 17:05:45
>> I think this may best be solved by the user adding linkflags=-ldl to the
>>command line.
Thanks, John. That worked for me.
I am curious, why is the file icu-i18n.pc file (shown below) not yielding the
-ldl flag.
Is there a way to debug this. I am new to this.
Thanks. =CS
---------------------------- /home/cxs/icu2/lib/pkgconfig/icu-i18n.pc
------------->
# Copyright (C) 2010, International Business Machines Corporation. All Rights
Reserved.
prefix = /home/lwalia/icu2
exec_prefix = ${prefix}
#bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
includedir = ${prefix}/include
baselibs = -lpthread -ldl -lm
#datarootdir = ${prefix}/share
#datadir = ${datarootdir}
#sbindir = ${exec_prefix}/sbin
#mandir = ${datarootdir}/man
#sysconfdir = ${prefix}/etc
CFLAGS = -O3 -Wall -ansi -pedantic -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -Wno-long-long $(THREADSCFLAGS)
#CXXFLAGS = -O3 -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings
-Wno-long-long $(THREADSCXXFLAGS)
DEFS = -DHAVE_CONFIG_H
UNICODE_VERSION=6.0
ICUPREFIX=icu
ICULIBSUFFIX=
LIBICU=lib${ICUPREFIX}
#SHAREDLIBCFLAGS=-fPIC
pkglibdir=${libdir}/icu${ICULIBSUFFIX}/4.6
#pkgdatadir=${datadir}/icu${ICULIBSUFFIX}/4.6
ICUDATA_NAME = icudt46l
#ICUPKGDATA_DIR=${exec_prefix}/lib
#ICUDATA_DIR=${pkgdatadir}
ICUDESC=International Components for Unicode
Version: 4.6
Cflags: -I${includedir}
# end of icu.pc.in
Description: International Components for Unicode: Internationalization library
Name: icu-i18n
Requires: icu-uc
Libs: -licui18n
----- Original Message ----
From: John Maddock <boost.regex_at_[hidden]>
To: boost_at_[hidden]
Sent: Tue, January 4, 2011 9:32:32 AM
Subject: Re: [boost] compiling Boost boost_1_45_0 regex with icu (redhat).
Aproblem and its fix.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk