View Single Post
  #5  
Old 08-24-2010, 08:33 AM
amraist
Fire Beetle
 
Join Date: Aug 2005
Posts: 29
Default

I've been running on FreeBSD amd64 in a jail(7.x-8.x), for quite a while without any noticable issues.
Are you using erde's autobuild scripts here? I'm assuming since you got it to compile you are at least using the freebsd patch included there.

You will need this additional patch as well:
Code:
--- common/SharedLibrary.cpp    2009-10-19 14:58:05.000000000 +0000
+++ common/SharedLibrary.cpp.new        2009-10-19 15:44:46.000000000 +0000
@@ -83,10 +83,10 @@
                return(NULL);
        
        void *r = GetProcAddress(hDLL, name);
-
-       if(GetError() != NULL)
-               r = NULL;
-
+       if ( r == NULL ) {
+               const char *load_error = GetError();
+               fprintf(stderr, "[Error] Shared Library GetSym: '%s' failed.  Error=%s\n", name, load_error?load_error:"Null Return, no error");
+       }
        return(r);
 }
You will also need a line like this in your rc.conf file of the system hosting your jails:
Code:
jail_sysvipc_allow="YES"
Reply With Quote