$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Test] Compiler error/missing entry point?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-09-26 19:39:44
Michael Spece Ibanez wrote:
> The program (source below) compiles without warning or error using:
>
> g++ -Wall -ansi -pedantic -I/usr/local/include/boost_1_39_0
> TestExample.cc -o TestExample -static -L~/stage/lib/
> -lboost_unit_test_framework-gcc34-mt-1_39
>
> But then running the program results in an error: a segmentation fault
> or undefined reference to
> boost::unit_test::framework::master_test_suite(). How do I fix this?
I'd guess you somehow missing shared library in LD_LIBRARY_PATH during
execution.
Can you run with strace?
Gennadiy