bugSpamAssassin Milter Plugin - Bugs: bug #14951, fatal: libstdc++.so.6: open failed

 
 

bug #14951: fatal: libstdc++.so.6: open failed

Submitter:  None
Submitted:  Fri 11 Nov 2005 03:15:48 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 14 Aug 2014 03:29:08 AM UTC, comment #2: 

resolving due to lack of response.

Todd Kover <kovert>
Group administrator
Fri 11 Nov 2005 05:02:40 AM UTC, comment #1: 


> # ./configure
> checking for g++... g++
> checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs.


This indicates a problem with your installed gcc.

> ./configure CXX=gcc


This won't work, since you can't link a c++ program with gcc; you need g++

> # ./configure --host=i386-pc-solaris2.8
> checking for i386-pc-solaris2.8-g++... i386-pc-solaris2.8-g++


This should have failed the same way your attempt #1 did, since I'm betting g++ and i386-pc-solaris2.8-g++ are hardlinks to each other.  I have no idea how it managed to finish running configure and generate an executable at the end that can't find libstdc++.so.6, since some of the configure tests rely on being able to execute test programs.

Do you have a libstdc++.so.6 somewhere in your system?  If you do, does the "crle" command show that path in the default library path?  If not, you may need to add it with "crle -u -l /usr/local/lib" (or wherever libstdc++.so.6 is)

Dan Nelson <dnelson>
Group administrator
Fri 11 Nov 2005 03:15:48 AM UTC, original submission:  

System: Solaris 8 x86.

# gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.8/3.4.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.1

(libs corrected, thanks)

--------------------------------------------

# ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

----------------------------------------------

# ./configure CXX=gcc
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for C compiler warning flags... -Wall
checking whether the compiler supports exceptions... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has __gnu_cxx::__verbose_terminate_handler... yes
checking for -fno-default-inline... yes
checking for -fno-inline... yes
checking for spamc... /usr/local/bin/spamc
checking for sendmail... /usr/lib/sendmail
checking for nroff... nroff
checking for mdoc nroff macros... no
checking build system type... i386-pc-solaris2.8
checking host system type... i386-pc-solaris2.8
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_REENTRANT
checking for cc_r... gcc
checking how to run the C++ preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/cdefs.h usability... no
checking sys/cdefs.h presence... no
checking for sys/cdefs.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking if we must define _GNU_SOURCE... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking if malloc debugging is wanted... no
checking for vsyslog... yes
checking for vasprintf... no
checking for vsnprintf... yes
checking for asprintf... no
checking for snprintf... yes
checking for library containing gethostbyname... no
checking for library containing connect... no
checking for library containing inet_aton... no
checking for strsep... no
checking for daemon... no
checking whether strsep is declared... no
checking whether daemon is declared... no
checking for mi_stop in -lmilter... no
checking for library containing strlcpy... no
checking for mi_stop in -lmilter... no
configure: error: Cannot find libmilter

------------------------------------------------------

# ./configure --host=i386-pc-solaris2.8
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i386-pc-solaris2.8-strip... no
checking for strip... strip
checking for i386-pc-solaris2.8-g++... i386-pc-solaris2.8-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether i386-pc-solaris2.8-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of i386-pc-solaris2.8-g++... none
checking for i386-pc-solaris2.8-gcc... i386-pc-solaris2.8-gcc
checking whether we are using the GNU C compiler... yes
checking whether i386-pc-solaris2.8-gcc accepts -g... yes
checking for i386-pc-solaris2.8-gcc option to accept ANSI C... none needed
checking dependency style of i386-pc-solaris2.8-gcc... none
checking for C compiler warning flags... -Wall
checking whether the compiler supports exceptions... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has __gnu_cxx::__verbose_terminate_handler... yes
checking for -fno-default-inline... yes
checking for -fno-inline... yes
checking for spamc... /usr/local/bin/spamc
checking for sendmail... /usr/lib/sendmail
checking for nroff... nroff
checking for mdoc nroff macros... no
checking build system type... i386-pc-solaris2.8
checking host system type... i386-pc-solaris2.8
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_REENTRANT
checking for cc_r... i386-pc-solaris2.8-gcc
checking how to run the C++ preprocessor... i386-pc-solaris2.8-g++ -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/cdefs.h usability... no
checking sys/cdefs.h presence... no
checking for sys/cdefs.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking if we must define _GNU_SOURCE... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking if malloc debugging is wanted... no
checking for vsyslog... yes
checking for vasprintf... no
checking for vsnprintf... yes
checking for asprintf... no
checking for snprintf... yes
checking for library containing gethostbyname... -lnsl
checking for library containing connect... -lsocket
checking for library containing inet_aton... -lresolv
checking for strsep... no
checking for daemon... yes
checking whether strsep is declared... no
checking whether daemon is declared... no
checking for mi_stop in -lmilter... yes
checking libmilter/mfapi.h usability... yes
checking libmilter/mfapi.h presence... yes
checking for libmilter/mfapi.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/spamass-milter.spec
config.status: creating spamass-milter.1
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands



# make
make  all-am
make[1]: Entering directory `/home/1/mail/newmail/spamass-milter-0.3.0'
i386-pc-solaris2.8-g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -fno-default-inline -fno-inline -D_REENTRANT -pthreads -c -o spamass-milter.o spamass-milter.cpp
i386-pc-solaris2.8-gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -D_REENTRANT -pthreads -c strsep.c
i386-pc-solaris2.8-g++  -g -O2 -Wall -fno-default-inline -fno-inline -D_REENTRANT -pthreads  -L/usr/lib/libmilter -o spamass-milter  spamass-milter.o strsep.o -lmilter -lresolv -lsocket -lnsl 
gawk -f mdoc2man.awk spamass-milter.1 > spamass-milter.man
make[1]: Leaving directory `/home/1/mail/newmail/spamass-milter-0.3.0'


# ./spamass-milter
ld.so.1: ./spamass-milter: fatal: libstdc++.so.6: open failed: No such file or directory
Killed

-----------------------------------------------------

In what there can be a problem? :(




Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kovert (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-14 kovert StatusNone Need Info
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code