RE: rlib-1.3.0 libr-mysql.so error

Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>
Newsgroups gmane.text.rlib.user
Message-ID <1105537807.6226.4.camel@term000>
Hi.. 


> ldd gives this output:
> seib@developer:~/rlib-1.3.0/src/examples/c> ldd example
>         not a dynamic executable
> 
> For me it is suprising. I don't know why?


My Bad.. I meant :src/examples/c/.libs/example"


I suspect you might not have /usr/local/lib in your /etc/ld.so.conf

On RedHat boxes you have to configure rlib w/ ./configure --prefix=/usr

In order for it to work

- bob


> 
> configure output: 
> 
> seib@developer:~/rlib-1.3.0> ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> 
> ...................................................
> 
> rlib-1.3.0:
> 
>         prefix:                   /usr/local
>         compiler:                 gcc
>         Memory debugging:         no
>         Warning Fun:              no
>         Crash detection:          yes
>         UTF8 disabled:            no
> 
>         INPUTS:
>          MYSQL:                   yes
>          POSTGRE:                 no
>          ODBC:                    no
> 
>    OUTPUTS:
>          PDF:                     yes
>          HTML:                    Always
>          CSV:                     Always
>          TEXT:                    Always
> 
>         BINDINGS:
>          PHP:                     yes
>           PHP entension dir:      /usr/local/lib/php/extensions/no-debug-non-zts-20020429
>          PYTHON:                  no
>           PYTHON version:         2.2
>           PYTHON entension dir:
>          JAVA:                    no
>          PERL:                    no
>           PERL entension dir:
> 
>         Music:                    Velvet Revolver
> 
>         Having Problems:          rlib-users-TtF/[email protected]
>         Want to contribute:       rlib-devel-TtF/[email protected]
> 
> Thanks,
> Leo Seib
> 
> -----Ursprüngliche Nachricht-----
> Von: Bob Doan [mailto:bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]] 
> Gesendet: Dienstag, 11. Januar 2005 15:13
> An: Seib Leo
> Cc: RLIB USERS
> Betreff: Re: [Rlib-users] rlib-1.3.0 libr-mysql.so error
> 
> can you "ldd example"
> 
> Also after your run ./configure 
> 
> There is a little report @ the end.. can you send that also
> 
> Thanks!
> 
> - bob
> 
> On Tue, 2005-01-11 at 13:19 +0100, Seib Leo wrote:
> > Hello,
> > 
> >  
> > 
> > I have compiled rlib-1.3.0 on SuSe Linux 9.2. I,ve got the following
> > mesasage while running example in src/examples/c/example:
> > 
> >  
> > 
> > seib@developer:~/rlib-1.3.0/src/examples/c> ./example
> > 
> > Setting output encoding to ANSI_X3.4-1968
> > 
> > encoding is NULL or invalid [C]... using en_USCould Not Load MYSQL
> > Input [libr-mysql.so: cannot open shared object file: No such file or
> > directory]
> > 
> > Could not connect to XML Database
> > 
> >  
> > 
> > But libr-mysql.so is on libpath:
> > 
> >  
> > 
> > ldconfig -v | grep libr-mysql.so shows
> > 
> >  
> > 
> > seib@developer:~/rlib-1.3.0/src/examples/c> /sbin/ldconfig -v | grep
> > libr-mysql.so
> > 
> >         libr-mysql-1.3.0.so -> libr-mysql.so
> > 
> >  
> > 
> >  
> > 
> > Can anybody help?
> > 
> > What is wrong?
> > 
> >  
> > 
> > Sincerely, Leo Seib
> > 
> > 
> 



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.