Problem regarding Base64Encoder() on Ubuntu

Linux specific forum
Little John
Addict
Addict
Posts: 4803
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Problem regarding Base64Encoder() on Ubuntu

Post by Little John »

Hi all,

I'm using PB 4.20 final on Ubuntu 8.04.
Until now, almost everything that I tried worked fine (e.g. most examples that come with PB).
So I think there is no general problem with PB on my Ubuntu system.

But recently, I encountered a problem. The following code, slightly modified after the Help file,
runs fine on Windows, and as I know from the German forum, it runs fine for other people on
Ubuntu 8.04, too:

Code: Select all

test.s = "This is a test string!"
enc.s = Space(1024)
Debug Base64Encoder(@test, StringByteLength(test), @enc, 1024)
Regardless whether or not I use administrator privileges, and regardless whether I build an
ASCII or a Unicode executable, I get the following error:
/opt/purebasic/compilers/objectmanager.a(Object.o): In function 'PB_Object_FreeID':
Object.c:(.text+0x111): undefined reference To 'PB_SimpleList_Remove'
What's going on there?

Regards, Little John