Hello King Pochacoo,

On Sat, 20 Mar 2004 20:13:27 +0800 (CST) King Pochacoo <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
>   I have installed Qt-3.2.3 (static installed), and
> tried to complied qt-gui (1.27) with --enable-static
> and --disable-shared. Then I get lib_qt-gui.a and
> lib_qt-gui.la in /usr/local/lib/licq
> 
> When I type,
> 
> #licq -p ./licq_qt-gui.la
> 
> Licq reports:
> 
> "[ERR] Unable to load plugin (./licq_qt-gui.la):
> invalid ELF header."
> 
> Anybody has any idea on this ???
> 
> P.S. My licq is built with --enable-static.

The .la file is not the library archive itself (look for .a instead, .la is
just like a header file).

So you should use the .a file, but such file is only meant for linking, not
for on-the-fly loading at runtime. AFAYK that's not convenient way of using
plugins :-\ and there will be no way to load a .a at runtime.

So I wonder if it's possible to link licq w/ some plugins linked statically!
Any developer?


Regards,

-- 
wwp


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
LICQ-Main mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-main

Reply via email to