Results 1 to 4 of 4

Thread: New location for libzimbra-native.so

  1. #1
    JamesR is offline Starter Member
    Join Date
    May 2008
    Location
    Dulles, VA
    Posts
    2
    Rep Power
    6

    Unhappy New location for libzimbra-native.so

    Currently I have my Zimbra (version 4.5.7) server up and running on a RHEL 5 host under /opt/zimbra.
    I am trying to move the /opt/zimbra/lib/libzimbra-native.so to a new directory, like /opt/zimbra/shared/libzimbra-native.so. Don't ask me why, but I'm being told to "make it work"

    To make this easy, I'm hoping there a variable I can set in JAVA_OPTS or something that will point the zimbra server to this new location for the libzimbra-native.so? Or will we need to make a change in the Util.java file where it loads this file:
    System.loadLibrary("zimbra-native");

    Also, how does the server know where to find the libzimbra-native.so from that loadLibrary command?


    Any help is appreciated!

    -James

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Welcome to the forums

    Why are you being asked to move a library What are you trying to achieve ?

    If we have that information we may be able to help

  3. #3
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    Hey, I grew up in Reston

  4. #4
    JamesR is offline Starter Member
    Join Date
    May 2008
    Location
    Dulles, VA
    Posts
    2
    Rep Power
    6

    Default

    It was explained to me that the jar files under /opt/zimbra/lib/jars were only used for the command-line tools. So they want to separate out the files under /opt/zimbra/lib. One dir under /opt/zimbra for the jars only for the command-line tools, and one dir under /opt/zimbra/blah or even put it in the war file (service.war) under something like /opt/zimbra/tomcat/webapps/service/WEB-INF/lib. Or, it would make sense to point both the command-line tools and tomcat to the same jar files; making for fewer duplicate jars files and easier to install a new updates to just one jar.

    Since I posted this question last night, I've been playing around a little with the -Djava.library.path for when the Core server starts up. Is this variable just for the libzimbra-native.so file? or is that used for other things as well, and it'll screw me all up if I change it to the new location for the so file?


    Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hiding Resources from a Location Search?
    By Chewie71 in forum Administrators
    Replies: 2
    Last Post: 09-19-2011, 10:38 AM
  2. setting default location while making an appointment
    By skydve1 in forum Installation
    Replies: 5
    Last Post: 08-06-2008, 05:22 AM
  3. Location resource search question
    By pfschmidt in forum Administrators
    Replies: 0
    Last Post: 01-31-2008, 12:41 PM
  4. is there a function to show last login location?
    By timothyalangorman in forum Administrators
    Replies: 2
    Last Post: 12-10-2007, 02:29 PM
  5. installation error during ldap setup
    By ljramos in forum Installation
    Replies: 23
    Last Post: 08-10-2007, 10:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •