|
Boost : |
From: Gander (agander_at_[hidden])
Date: 2005-04-18 12:05:49
On Sunday 17 April 2005 16:34, Bart wrote:
> My output from:
> rpm -qpl boost-1.30.2-2.i386.rpm
> /usr/lib/libboost_date_time.so
> /usr/lib/libboost_date_time.so.1.30.2
Mine is: -
rpm -qpl /usr/src/redhat/RPMS/i386/boost-1.32.0-3.i386.rpm
/usr/lib/libboost_date_time.so.1.32.0
/usr/lib/libboost_filesystem.so.1.32.0
/usr/lib/libboost_prg_exec_monitor.so.1.32.0
/usr/lib/libboost_program_options.so.1.32.0
/usr/lib/libboost_python.so.1.32.0
/usr/lib/libboost_regex.so.1.32.0
/usr/lib/libboost_signals.so.1.32.0
/usr/lib/libboost_test_exec_monitor.so.1.32.0
/usr/lib/libboost_thread.so.1.32.0
/usr/lib/libboost_unit_test_framework.so.1.32.0
>
> I notice your output does not show libboost_date_time.so. Can you verify
> if this file exists in your /usr/lib directory?
I have these: -
l /usr/lib/libboost_*date*
lrwxrwxrwx 1 root root 28 Apr 10 18:42 /usr/lib/libboost_date_time.so.1
-> libboost_date_time.so.1.32.0
-rwxr-xr-x 1 root root 123314 Apr 10 18:39 /usr/lib/libboost_date_time.a
-rwxr-xr-x 1 root root 74296 Apr 10
18:39 /usr/lib/libboost_date_time.so.1.32.0
locate 'libboost_date_time.so'
/usr/lib/libboost_date_time.so.1
>
> Also, where did you find your copy of the 1.32 srpm?
I went for: -
The Boost C++ Libraries Fedora Core Development Sources boost-1.32.0-3.src.rpm
from: -
<http://rpmfind.net/linux/rpm2html/search.php?query=boost&submit=Search+...&system=Fedora&arch=>
I was hoping I would be to use 1.32 as it's compatible with work.
I have re-installed 1.31 and re-compiled days_alive and it's still
complaining.
g++ -ggdb -x c++ -pipe -Wall -I. -D__USE_STD_IOSTREAM -lboost_date_time -o
days_alive days_alive.cpp
/tmp/ccV7Juhv.o(.gnu.linkonce.t._ZN5boost9date_time19month_str_to_ushortINS_9gregorian10greg_monthEEEtSs+0xec):
In function `unsigned short
boost::date_time::month_str_to_ushort<boost::gregorian::greg_month>(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
/usr/include/boost/token_functions.hpp:459: undefined reference to
`boost::gregorian::greg_month::get_month_map_ptr()'
collect2: ld returned 1 exit status
rpm -qpl boost-1.31.0-7.i386.rpm
/usr/lib/libboost_date_time.a
/usr/lib/libboost_date_time.so.1.31.0
1.31 was a srpms build (no special switches) retreived from a mirror similar
to: -
ftp://ftp.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/core/2/SRPMS/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk