[Gambas-user] Re: BUG EXEC does not accept sudo.

Benoit Minisini gambas at ...2...
Mon Aug 4 21:04:10 CEST 2003


Le Lundi 4 Août 2003 20:00, vous avez écrit :
> I'm using SuSE Linux 8.2 and Gambas 0.63.
> I have to execute a command as root, so I tried EXEC["sudo", "....."].
> When I try my command in the shell it runs perfectly but as far as I try
> to EXEC sudo with Gambas it tells me:
> sudo: error while loading shared libraries: libqt-mt.so.3: cannot open
> shared object file: No such file or directory
> Though a libqt-mt.so.3 and a libqt-mt.so exist and are right in place.
> Anyway I don't uderstand what executing a command in the shell should
> have to do with the libqt.
> It seems to  me that EXEC does not accept the sudo command.
> Or is there something I have missed ?
>
> Thanks in advance

Hi,

Thanks for your report. It is a bug due to the internal use of LD_PRELOAD by 
the interpreter. I will fix it in the next version...

Hey ! Wait a minute ! Gambas works on SuSE 8.2 !!!! Why didn't you tell me 
that before ? :-p

I have another user (Antero Salminen <antero.salminen at ...216...>) that 
cannot succeed in compiling nor running gambas (same message than you, but 
just when lauching the 'gbi' program).

I wonder if you could help him better than I did. He doesn't know how to grant 
me a ssh or telnet access to his machine. If you could run gambas, maybe 
there is a configuration problem on its own machine, but I don't know. I have 
only a SuSE 8.1 at home, and it seems there are a lot of differences between 
SuSE 8.2 and SuSE 8.1.

Gambas needs a SuSE expert, and I'm not ! :-/

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list