Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Markus Fritsche

On 2014-11-17 23:14, Brad wrote:

I think it's "(Smalltalk at: #NBPharoOpenDBX) installAsCurrent.


That sounds familiar. But since I didn't read a "hooray", I guess that 
didn't do the trick either?


Off for some sleep



Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Brad
I think it's "(Smalltalk at: #NBPharoOpenDBX) installAsCurrent.

Brad Selfridge
913-269-2385

> On Nov 17, 2014, at 3:35 PM, Markus Fritsche  wrote:
> 
> Hi,
> 
> So as far as I can see, you have all dependencies...
> 
> I remember that I had to reinitialize the OpenDBX libraries to change the 
> adaptor to the native library calls (from FFI to NBPharoOpenDBX or similar). 
> Unfortuanetly, I don't have the image at hand.
> 
> 
> 



Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Brad
How would one re-initialize OpenDBX libraries? 

Brad Selfridge
913-269-2385

> On Nov 17, 2014, at 3:35 PM, Markus Fritsche  wrote:
> 
> Hi,
> 
> So as far as I can see, you have all dependencies...
> 
> I remember that I had to reinitialize the OpenDBX libraries to change the 
> adaptor to the native library calls (from FFI to NBPharoOpenDBX or similar). 
> Unfortuanetly, I don't have the image at hand.
> 
> 
> 



Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Markus Fritsche

Hi,

So as far as I can see, you have all dependencies...

I remember that I had to reinitialize the OpenDBX libraries to change 
the adaptor to the native library calls (from FFI to NBPharoOpenDBX or 
similar). Unfortuanetly, I don't have the image at hand.






Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Brad Selfridge


On 11/17/2014 11:37 AM, Markus Fritsche wrote:
sudo apt-get install libopendbx1:i386 libopendbx1-mysql:i386 



brad@brads-linux-laptop:~$ sudo apt-get install libopendbx1:i386 
libopendbx1-mysql:i386 [sudo] password for brad:

Reading package lists... Done
Building dependency tree
Reading state information... Done
libopendbx1:i386 is already the newest version.
libopendbx1:i386 set to manually installed.
libopendbx1-mysql:i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
brad@brads-linux-laptop:~$




Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Markus Fritsche

Hello Brad,

as far as I can tell, you have the 32 bit mysql client libraries 
installed (don't worry, the 64 and 32 bit version can coexist) - but I 
am not sure about opendbx.


Please try

sudo apt-get install libopendbx1:i386 libopendbx1-mysql:i386

Best regards,
  Markus



Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread bsselfri...@gmail.com
The "libmysqlclient18:amd64" looks suspicious. 

brad@brads-linux-laptop:~$ sudo dpkg -l | grep mysql | awk ' { print $2 } ' 
libdbd-mysql-perl
libmysqlclient18:amd64
libmysqlclient18:i386
libmysqlcppconn7
libopendbx1-mysql
libqt4-sql-mysql:i386
mysql-client
mysql-client-5.5
mysql-client-core-5.5
mysql-common
mysql-server
mysql-server-5.5
mysql-server-core-5.5
mysql-utilities
mysql-workbench
mysql-workbench-data
python-mysql.connector
brad@brads-linux-laptop:~$ 

brad@brads-linux-laptop:~$ sudo dpkg -l | grep dbx | awk ' { print $2 } ' 
libopendbx1
libopendbx1-mysql
brad@brads-linux-laptop:~$ 





-
Brad Selfridge
--
View this message in context: 
http://forum.world.st/function-unavailable-when-calling-OpenDBXDriver-for-MySQL-tp4790564p4790702.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Markus Fritsche

Hello Brad,

On 2014-11-17 17:34, bsselfri...@gmail.com wrote:

My database is 64 bit on my 64bit Ubuntu machine.

However, on my 32bit Ubuntu 14.04 machine, I have a 64 debian VM 
running
that has a 64bit MySQL running which I can access just fine from 32bit 
host

machine running Pharo.


I would guess that the 32 Bit MySQL client libraries are not installed. 
Please check if you have libmysqlclient:i386 and libopendbx:i386 (or 
what the proper name is, I'm not on an ubuntu machine right now) 
installed.


dpkg -l | grep mysql | awk ' { print $2 } '
dpkg -l | grep dbx | awk ' { print $2 } '





Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread bsselfri...@gmail.com
My database is 64 bit on my 64bit Ubuntu machine.

However, on my 32bit Ubuntu 14.04 machine, I have a 64 debian VM running
that has a 64bit MySQL running which I can access just fine from 32bit host
machine running Pharo. 



-
Brad Selfridge
--
View this message in context: 
http://forum.world.st/function-unavailable-when-calling-OpenDBXDriver-for-MySQL-tp4790564p4790694.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread bsselfri...@gmail.com
Ill have to check

Brad Selfridge
913-269-2385

> On Nov 17, 2014, at 9:41 AM, Stephan Eggermont [via Smalltalk] 
>  wrote:
> 
> Hi Brad, 
> 
> You don't tell us if your MySQL is 32 bit? 
> 
> Stephan 
> 
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://forum.world.st/function-unavailable-when-calling-OpenDBXDriver-for-MySQL-tp4790564p4790646.html
> To unsubscribe from 'function unavailable' when calling OpenDBXDriver for 
> MySQL, click here.
> NAML




-
Brad Selfridge
--
View this message in context: 
http://forum.world.st/function-unavailable-when-calling-OpenDBXDriver-for-MySQL-tp4790564p4790648.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread Stephan Eggermont
Hi Brad, 

You don't tell us if your MySQL is 32 bit?

Stephan



Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-17 Thread bsselfri...@gmail.com
It looks like eveything is there. This configuration looks almost identical
to my 32os machine.  


root@brads-linux-laptop:/usr/lib# ldd libopendbx.so.1.2.0
linux-gate.so.1 =>  (0xf76df000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76b8000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7508000)
/lib/ld-linux.so.2 (0xf76e)
root@brads-linux-laptop:/usr/lib# 



-
Brad Selfridge
--
View this message in context: 
http://forum.world.st/function-unavailable-when-calling-OpenDBXDriver-for-MySQL-tp4790564p4790636.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-16 Thread Igor Stasenko
On 16 November 2014 23:46, bsselfri...@gmail.com 
wrote:

> I've used the instructions defined on the "http://dbxtalk.smallworks.eu/";
> website to setup the  OpenDBXDriver for a MySQL database. When I try to
> make
> a connection to the database, I'm getting the "function unavailable".
>
> I have this working on a Ubuntu 14.04 32bit OS.  I'm wondering if my
> problem
> is my 64bit Ubuntu or do I have other problems.
>
>
> My setup:
>
> Ubuntu 14.04 64bit.
> Pharo 3.0
> libopendbx.so.1.2.0   i386 version
>
>
could be that libopendbx links with other 32-bit drivers, which is missing
in your system.

try
ldd   libopendbx.so.1.2.0
and see if all required libs are present. (32-bit , of course)


> Brad Selfridge
>
>
>
> -
> Brad Selfridge
> --
> View this message in context:
> http://forum.world.st/function-unavailable-when-calling-OpenDBXDriver-for-MySQL-tp4790564.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


-- 
Best regards,
Igor Stasenko.


[Pharo-users] 'function unavailable' when calling OpenDBXDriver for MySQL

2014-11-16 Thread bsselfri...@gmail.com
I've used the instructions defined on the "http://dbxtalk.smallworks.eu/";
website to setup the  OpenDBXDriver for a MySQL database. When I try to make
a connection to the database, I'm getting the "function unavailable".   

I have this working on a Ubuntu 14.04 32bit OS.  I'm wondering if my problem
is my 64bit Ubuntu or do I have other problems. 


My setup: 

Ubuntu 14.04 64bit. 
Pharo 3.0 
libopendbx.so.1.2.0   i386 version

Brad Selfridge 



-
Brad Selfridge
--
View this message in context: 
http://forum.world.st/function-unavailable-when-calling-OpenDBXDriver-for-MySQL-tp4790564.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.