Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.xxxcon, which comes first ob_start or session, wwwxxx/58/2010, xxxxdup, xxxxdup, mailx informatii, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, mysql feiertage, bash netcat eof, 192.168.1.41:8000

Links

XODOX
Impressum

#1: Issue with loading a library in support of a user function on 64 bit systems

Posted on 2006-11-28 19:24:14 by paul.carlton2

------_=_NextPart_001_01C7131A.6B32CEFA
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


I have built mysql using...

../configure --prefix=3D/hptc_cluster/paul/mysql-5.1.11 =
--with-plugins=3Dmax --with-mysqld-ldflags=3D-rdynamic make make install

The startup command I used was...

mysqld_safe --user=3Dmysql --server-id=3D50 --port=3D33306 =
--pid-file=3Dpid50 --skip-innodb --socket=3D$PWD/var/sock50 =
--log=3D$PWD/var/my50.log --event-scheduler=3DON =
--plugin_dir=3D$PWD/lib/mysql &

I placed my own and the example UDF .so files in the lib/mysql directory =
referred to by the plugin_dir variable. I was unable to create the =
function, kept getting 'error 22 cannot open shared object file: No such =
file or directory'. Then I tried placing the .so files in /usr/lib and =
that worked on my development system (using 5.1.11)...

Linux pcarlton1 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686
i686 i386 GNU/Linux

However, when I repeated the process on two other 64 bit systems (both =
with 5.1.11 and 5.1.12) I got the error 22 problem, even when adding the =
..so files to /usr/lib.

Linux n5 2.6.9-22.7hp.1sp.XCsmp #1 SMP Thu Mar 23 21:35:55 EST 2006
x86_64 x86_64 x86_64 GNU/Linux

Any ideas?

I've reported this as a bug: http://bugs.mysql.com/24548


Thanks

Paul Carlton=20
Real Time Software Division=20

Mobile: +44 (0)7768 994283=20
EMail: Paul.Carlton2@hp.com=20



------_=_NextPart_001_01C7131A.6B32CEFA--

Report this message

#2: Re: Issue with loading a library in support of a user function on 64 bit systems

Posted on 2006-11-29 00:09:08 by Valeriy Kravchuk

Hi Paul,

> Any ideas?

> I've reported this as a bug: http://bugs.mysql.com/24548

As you already reported a bug, let's discuss it there, in bugs database.
Have you tried to use strace, as Sergei suggested there?

Best regards,
--
Valeriy Kravchuk, Support Engineer
MySQL AB, Kiev, Ukraine, www.mysql.com

Are you MySQL certified? www.mysql.com/certification


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Report this message