Kylix - um erro estranho

Top  Previous  Next

error in loading shared libraries: /lib/libqtintf.so: undefined

symbol: focusNextPrevChild__14bláblá

 

Veja a solução tirada do news da Borland:

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

     Subject:              Re: Qt Libraries

        Date:              Wed, 06 Jun 2001 03:14:00 GMT

        From:              RemoveThis_jdwells@seasurf.com (JD Wells)

Organization:              tfmSoftware

  Newsgroups:              borland.public.kylix.deployment

  References:              1 , 2

 

*To deploy a simple executable one needs to distribute the Qt runtime

files provided by Borland.  

 

Correct.

 

If you perfectly know and understand what you are doing, you can omit

this.

Right, and if I perfectly etc... I wouldn't be prowling these

newsgroups to figure why my app won't run..

 

*They need to be placed in a folder that is listed in the file

'/etc/ld.so.conf'. (according to the DEPLOY file)

 

No. This is only one option. LD_LIBRARY_PATH is another one.

I deleted the files I copied to /usr/lib/.  Kylix indicates that the

LD_LIBRARY_PATH includes the path '/usr/local/kylix/bin' which is

where the Kylix install put the files in question (qtlibintf.so etc.),

but when I try to run the app now I get an error messages indicating

that 'qtlibintf.so' cannot be loaded because there is no such file or

directory, though there clearly is such a file, and in fact it resides

in the a directory referenced by LD_LIBRARY_PATH. 

 

"error while loading shared libraries: /usr/lib/libqtintf.so:

undefined symbol: event_14QMultiLineEditP6QEvent" 

 

A different version of libqt.so is found by the loader before the one

you have. Presumably the one in 

 

  /usr/lib/qt2/lib

 

My advice is NOT to copy things around to /lib (or to any other

directory listed in /etc/ld.so.conf) and NOT to modify /etc/ld.so.conf

itself - but for the moment to use the LD_LIBRARY_PATH technique that is

discussed in the documentation.

I searched on 'LD_LIBRARY_PATH' in Kylix help files and only came up

with the fact that the redistributables should be placed in a

directory that is included in the LD_LIBRARY_PATH environment

variable, or a directory listed in the file /etc/ld.so.conf.  Since

the redistributables are already in the directory referenced by

LD_LIBRARY_PATH I should be able to just run my compiled app.

I feel like I'm playing Myst here.  Is there not just a direct answer

to this problem? 

Thanks for your response; I'm not ungrateful, just frustrated. It's so

cool to be programming in (Delphi) on Linux! But...

 

PS: Stefan, sorry I spelled your name wrong in my first post.