Subject | Re: [firebird-support] udf and iostream problem |
---|---|
Author | Aurimas Černius |
Post date | 2010-05-03T11:25:32Z |
Hi,
--
Aurimas
> I tried ldd before and after the "include<iostream>"I think there should be libstdc++ here as well. That might be the case.
> the result is the same:
> linux-gate.so.1 => (0xb7f12000)
> libc.so.6 => /lib/libc.so.6 (0xb7dd9000)
> libm.so.6 => /lib/libm.so.6 (0xb7db3000)
> /lib/ld-linux.so.2 (0xb7f13000)
> I simplified the code, now it is:What does ldd say for that application?
>
> include<iostream>
>
> char* edb_getComputerName(){
> return 0;
> }
>
> and the generated library ca not be loaded in firebird.
> If I build it as an application - it works normally !!!
> I tried to run firebird service as root - jut to check, but the libraryThere shouldn't be any difference between root and non-root.
> still can not be loaded.
--
Aurimas