Hello Group, I am running OSX 10.4.9 Server, with Free Radius 1.1.6. I have FreeRadius setup to connect to my MySQL Server for authentication. That server is running MySQL 4.1 When I try loading radiusd -X I get a mysql link error. rlm_sql (sql): Could not link driver rlm_sql_mysql: dlopen(/usr/local/lib/rlm_sql_mysql-1.1.6.so, 9): no suitable image found. Did find: ?/usr/local/lib/rlm_sql_mysql-1.1.6.so: no matching architecture in universal wrapper ?/usr/local/lib/rlm_sql_mysql-1.1.6.so: no matching architecture in universal wrapper rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld. radiusd.conf[14]: sql: Module instantiation failed.
From what I read on the FAQ this is a library error on my system and has nothing to do with Freeradius. But my error differs slightly from what the FAQ says I could be seeing.
I did run a ./configure | grep mysql_config and it came out saying MySQL = yes. Can someone help me resolve this? I greatly appreciate it. Joseph Sullivan
Joseph Sullivan wrote:
rlm_sql (sql): Could not link driver rlm_sql_mysql: dlopen(/usr/local/lib/rlm_sql_mysql-1.1.6.so, 9): no suitable image found. Did find: ?/usr/local/lib/rlm_sql_mysql-1.1.6.so: no matching architecture in universal wrapper ?/usr/local/lib/rlm_sql_mysql-1.1.6.so: no matching architecture in universal wrapper
Did you build the server on that machine, or did you build it on another machine and move the binaries over?
Can someone help me resolve this? I greatly appreciate it.
It's a MAC specific problem. Other people running MACs don't see it, so maybe you could give more information about your system. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
On 5/11/07 11:11 PM, "Alan DeKok" <aland@deployingradius.com> wrote:
Did you build the server on that machine, or did you build it on another machine and move the binaries over?
I Built the server on this machine.
It's a MAC specific problem. Other people running MACs don't see it, so maybe you could give more information about your system.
Alan DeKok.
I don't know exactly what kind of Information to give. It is OSX Server Unlimited 10.4.9 with all apple updates applied before I installed anything else. It is a DP 450 with 2 gb memory. I obviously had to install Xcode to compile Free Radius. I'm sorry I really don't know what else you may need to know. Thanks for taking the time to help me!! Joseph Sullivan
Joseph Sullivan wrote:
I Built the server on this machine.
Well, the error message seems to indicate that the module that was built doesn't match the machine you're running it on. I don't know how to fix that, sorry. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Hi Alan, I decided to format my Mac and reinstall everything. That fixed all the issues that I have had so far. It compiled perfectly with the Perl Module (which I had to remove before) and MySQL is working flawlessly now. Thanks for pointing me in that direction. Thanks for your hard work on FreeRadius and your attention to the talk list. Your Awesome!! Cheers!! Joseph Sullivan On 5/14/07 9:07 AM, "Alan DeKok" <aland@deployingradius.com> wrote:
Joseph Sullivan wrote:
I Built the server on this machine.
Well, the error message seems to indicate that the module that was built doesn't match the machine you're running it on. I don't know how to fix that, sorry.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Joseph Sullivan