problem installing with berkeley db java api

Hello
I have a problem to start Berkeley db 4.7 with java api.
I followed the installation procedure described here http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/intro.html
and provided the - enable-java option during configuration.
I've also updated the following configuration on the file .bashrc in the linux machine

export CLASSPATH=/usr/local/BerkeleyDB.4.7/lib:$CLASSPATH
export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.7/lib

When you try to run the sample db. AccessExample (which is packed with berkley db) I get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/BerkeleyDB.4.7/lib/libdb_java-4.7.so: /usr/local/BerkeleyDB.4.7/lib/libdb_java-4.7.so: evil class ELF: ELFCLASS64 (Possible cause: incompatibility of width for the word architecture)

The linux machine is a 64-bit computer java-version gives:
Java version "1.6.0_03".
Java (TM) SE Runtime Environment (build 1.6.0_03 - b05)
Java hotspot Server VM (build 1.6.0_03 - b05, mixed mode)

How can this problem be fixed?
If it is related to 32 bit or 64 bit issues, is there a way to compile the berkeley db code with different config params?

Thank you!

Hello. -m32 is an indicator of compiler, you can tell BDB that signals to use by setting CFLAGS for configuration stage. There is a documentation on how to do it here:
http://www.Oracle.com/technology/documentation/Berkeley-DB/DB/ref/build_unix/flags.html

Ben Schmeckpeper

Tags: Database

Similar Questions

  • problem installing with lightroom.  error: change of modules, number of required folder?

    problem installing with lightroom.  error: change of modules, number of required folder?

    Hi daves.

    This problem normally occurs when the files of Adobe to launch Lightroom do not have read/write permissions.

    Please follow this article changing the error modules and grant permissions to required files

    Here's a double thread Lightroom: "an error occurred when attempting to change modules."

    Let us know if this helps

    ~ Assani

  • Problem installing with fsx deluxe edition

    I had a previous installation of Flight Sim X, but uninstalled it centuries ago. Yesterday I got a new copy and this morning attempted installation. After you insert the disc 2, a pop-up asked me to "insert disk". Which drive? Not sure if this meant disc 1, but it didn't work anyway, so I re-inserted disc 2 and got the same pop-up again and cannot go any further. Someone knows what to do?

    I use Win XP Professional 2002.

    Nick

    Hi Nick,

    ·         What is the full error message?

    Follow these methods.

    Method 1: Put the computer in a clean boot State to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state from the link to start the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click restart to restart the computer.

    Method 2: Follow the steps in the article.

    Error message when you install a Microsoft game or a mapping program

    Microsoft games: InstallShield Error Messages

    For reference:

    Solve problems with activation for Microsoft games problems and mapping programs

    Frequently asked questions on how to enable Microsoft Games for Windows, streets and trips and Mappoint

  • Problems installing with Zoo Tycoon 2 Marine Mania.

    I have Zoo tycoon 2 is installed on my computer, but when I try to install marine mania, I takes me to the screen to uninstall Zoo tycoon 2. He is stuck in a loop. It uninstalls everything and will not re install! How can I solve this problem?

    Hello

    I suggest that you follow the steps mentioned below and check if the problem persists.

    Step 1:

    Uninstall and reinstall Microsoft Zoo Tycoon 2 Marine Mania and check if the problem persists.

    Step 2:

    Perform a clean start to verify if a third person or service is interfering with the installation process. We can isolate the program using the clean boot.

    Note: Follow step 7 to your computer as usual.

    Additional information:

    Error message when you install Microsoft Games:

    http://support.Microsoft.com/kb/258496

    http://zootycoon.com/support/TechSupport.htm

  • I have problems installing with kaspersky internet security, 2015 on windows 7

    Original title:

    internet security Kaspersky 2015

    iI problems of installation with kaspersky internet security, 2015 on windows 7 will not install it comes up with a message to reinstall net framework from microsoft which I did & the question was not resolved.i however installed on my other pc that runs vista without issues.has - what someone has encountered this and if so is there a resolution? Thank you

    Make sure that you install the .NET Framework 4.5 for Windows 7, not 4.0.

    Also try to stay connected to the Internet during installation:

    http://support.Kaspersky.com/11045#Block1

    You can also do a clean boot.

  • Printer problem install with VB Script

    Hi all

    I hope you guys can help me with a problem I have. For a customer, we are trying to install printers via a script run when connecting. We got it working on 32-bit workstations, but I won't work on 64-bit workstations.

    We know that the problem is by removing the printer before connecting. With the script we have now it works only in 32 bits, but we need a solution that works on both. Or a script that checks the architecture of the en PC runs the script for 32 or 64 bit.

    The script:

    Option Explicit
    Dim FSO, strUserName, WSHNetwork, strUserDomain, ObjGroupDict, varenv, strVarUserName
    Dim objNetwork, strComputer, objWMIService, colInstalledPrinters, objPrinter, strLocal
    Dim strUNCPrinter1, strUNCPrinter2, strUNCPrinter3, strUNCPrinter4
    Dim strUNCPrinter5
    Sun printers
    Dim counter

    Set WSHNetwork = WScript.CreateObject ("WScript.Network")
    Set varenv = WScript.CreateObject ("WScript.Shell")
    Set FSO = CreateObject ("Scripting.FileSystemObject")
    strVarUserName = EnvVar.ExpandEnvironmentStrings("%username%") "

    "Wait for the user to connect

    strUserName = «»
    While strUserName = «»
    WScript.Sleep 100
    strUserName = WSHNetwork.UserName
    Wend
    strUserDomain = WSHNetwork.UserDomain

    Set ObjGroupDict = CreateMemberOfObject (strUserDomain, strUserName)

    'Create printers '.

    strUNCPrinter1 = "\\s-exch\P50 - A4 Dubbel (Kleur)"
    strUNCPrinter2 = "\\s-exch\P50 - A4 Dubbel (Z - W)"
    strUNCPrinter3 = "\\s-exch\P50 - A4 Enkel (Kleur)"
    strUNCPrinter4 = "\\s-exch\P50 - A4 I (Z - W)"
    strUNCPrinter5 = "\\s-exch\P50 - TCE - Briefpapier (Z - W)" "

    'Delete printers '.

    Set objNetwork = CreateObject
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Dubbel (Kleur)"
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Dubbel (Z - W)"
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Enkel (Kleur)"
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 I (Z - W)"
    objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - TCE - Briefpapier (Z - W)" "

    ' Create printermappings based on groupmembership

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter1
    End If

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter2
    End If

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter3
    End If

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter4
    End If

    If MemberOf (ObjGroupDict, "P50" ") then
    Set objNetwork = CreateObject
    objNetwork.AddWindowsPrinterConnection strUNCPrinter5
    End If

    Function MemberOf (ObjDict, strKey)
    MemberOf = CBool (ObjGroupDict.Exists (strKey))
    End Function

    Function CreateMemberOfObject (strDomain, strUserName)
    Dim objUser, objGroup
    Set CreateMemberOfObject = CreateObject ("Scripting.Dictionary")
    CreateMemberOfObject.CompareMode = vbTextCompare in
    Set objUser = GetObject ("WinNT: / /" & strDomain & "/" & strUserName & ", user")
    For each objGroup in objUser.Groups
    CreateMemberOfObject.Add objGroup.Name, «»
    Next
    Set objUser = Nothing
    End Function

    Hello Miesjel,

    Welcome to the Microsoft Community Forum.

    The question you posted would be better suited to the Technet community. Please visit the link below to find a community that will provide the support you want.

    Microsoft TechNet
    http://social.technet.Microsoft.com/forums/scriptcenter/en-us/home?category=scripting

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

    Happy new year!

    Thank you

  • problem installing with elements 9 on mac

    I have elements 9 on a old computer but recently bought a new. I wanted to download items 9 on my new computer. I found the serial number on my account and downloaded the software, but it does not install. Normally on a mac you just drag it on the hard drive to install. There is no option. I was chatting to support when I downloaded it and when she does not he said to go to forums... Can someone help me with this problem? My mac OS is El Capitan.

    Thank you

    Glenda

    Former software installation on the new machines is generally a problem... sometimes without one solution other than relying on the original material.

    Download and Installation Help-

    https://helpx.Adobe.com/download-install.html

    PSE 7, 8, 9 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-7-8-9-downloads.html

    PE 9 - http://helpx.adobe.com/premiere-elements/kb/premiere-elements-9-downloads.html

  • Problem installing with Muse

    I have a problem with the Muse: "Adobe Application Manager" shown as installed and updated, but it really is not inside the computer. I had a trial version that I uninstalled the appropriate application of Adobe. I forgot to mention that I'm subscribed regularly to creative cloud, of course! What can I do?

    Mac OsX 10.8.3.

    If the Muse is that already installed on yor computer just start and then click on license this software button enter your Adobe ID to activate Muse.

    If you are unable to launch Muse and you have vandalized it then go to Application/Utilities/Adobe Installers and check if you get uninstall of Muse here. Double-click Muse Uninstaller to uninstall completely from Muse.

    If you are not able to find Muse download uninstaller then Adobe CS cleaner of: http://www.adobe.com/support/contact/cscleanertool.html and uninstall completely from Muse.

    After uninstalling, you can install Muse with the help of Adobe Application Manager.

  • Problems installing with the new kernel 2.6.27 - 9

    Hello

    I think I'm doing ok with my installation.  My problem is that I don't know how to go beyond this problem:

    None of the vmmon modules pre-built for VMware Server is suitable for your

    kernel running.  Do you want this program to try to build the vmmon module for

    your system (you must have a C compiler installed on your system)?

    If I answer Yes, I get the following:

    Using compiler "/ usr/bin/gcc". Environment variable CC to override.

    What is the location of the directory of C header files that match your running

    kernel? / usr/src/linux/include

    The path "/ usr/src/linux/include" is not an existing directory.

    What would be the best way to solve this problem?  I really want to do this race.

    Ok

    This is not a forum for Linux, is a Vmware forum...

    When you ask for something in a forum, it is good to have a GOOD ATTITUDE...

    In any case...

    I'll do it so easy

    To see if you have installed linux-headers, all you need is to execute this comand:

    dpkg-l | grep linux - headers-'uname - r '.

    To install the linux-headers necessary according to your kernel running:

    apt - get install linux - headers-'uname - r '.

    And that's all.

    Concerning

    If you found this information useful, please consider awarding points to 'Correct' or 'Useful' answers and answers. Thank you!!

  • Error with TaskSearchFilter using Java API by calling custom

    I created a Java component customized for use in LC process Mgr.

    On invoke the process containing the component, the component will fail with the following message:

    2011-02-28 16:28:31, 260 ERROR [com.adobe.workflow.AWS] cannot force the object: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter@cf7e441 type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter of the class

    Code is pretty basic:

    ServiceClientFactory myFactory = ServiceClientFactory.createInstance ();

    TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager (myFactory);

    TaskSearchFilter filter = new TaskSearchFilter();
    filter.addCondition (TaskSearchingConstants.pSTATUS, Operator.EQUALS, "3");

    The list of result < TaskRow > = queryManager.taskSearch (filter);

    Error seems to happen with the creation of the list. This code works fine when run as a standalone file in Eclipse or Netbeans, but not in the component.

    All required jars are included and are listed in the component.xml class path.

    Someone at - it ideas?

    Thank you

    David

    Looks like a problem of ClassLoader.  Usually this is caused by the presence of a class (TaskSearchFilte) in your component on the server.   In other words, there are two copies of the class of TaskSearchFilte - yours and already in LiveCycle - and they are in conflict.

    If this is the case, the solution is simple:

    • remove the jar files containing the TaskSearchFilte (and LiveCycle customers) jar of your device file.  You may need in the way of construction, so your code can compile - but you don't need them in the jar of the final element.
    • remove references to these jars of the class-path of the component.xml file entry
    • Add a section import-package to your component.xml file.  This will not reference the jar files, but the package names.  For example:

    com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter

  • problem installing with C4480 and Time Capsule

    I'm putting in place a new Photosmart C4480 to use with my computer laptop MacBook and my Office PowerPC G4 tower. When I connect the printer directly to the G4 using the USB cable, it works fine. But when I connect to the USB port of my time Capusule the C4480 (which is connected to the G4 by ethernet cable) G4 can't find the printer. However, I can print wireless from the MacBook. This configuration has worked with my previous Epson printer. Is there anything else I need to do? Thanks for any help/suggestions.

    I just answered my own question - I didn't notice the "Hello Printers" in the "printer" drop-down menu. Selecting the C4480 in this option solves the problem. Thanks anyway.

  • Problems installing with NO-Sync 3.0 and LabVIEW 8.6

    I try to use NO-Sync 3.0 with the PXI-6682 timing and GPS support. However the screws NOR-Sync that worked under LV8.5.1 are broken by LV8.6 and NOR-Sync is no longer present in the menu diagram functions measure IO. have functions OR-Sync was displaced, obsolete or simply not supported yet in 8.6? Or is the installation procedure of NOR-Sync different with 8.6 compared to 8.5.1?

    Hello Magma,

    I just wanted to confirm in this thread that NEITHER-Sync 3.0 does not natively install support for LabVIEW 8.6, but your workaround displayed is valid to activate the support until the next version of releases OR Sync.  A knowledge base entry is created to explain this and should be online in the near future.

    Kind regards

    Mike: Torba

    National Instruments

  • Problems installing with Sidewinder X 5 (help, help, help).

    First of all, let me say that I think that the mouse is a piece of ____. It crashes and or freezes on any setting above 1600DPI. The lightness of the body flew everywhere in the mouse pad. The buttons are not placed comfortably. I also lost all my mouse functions in Photoshop. I put my new mouse for sale on Ebay this week.

    The problem is that when I installed Intellipoint drivers it completely removed my Logitech Mouseman drivers and disabled somehow my serial port.

    When I uninstalled Intellipont and re-installed the Mouseman I found that I could not use my Logitech mouse to my serial port (I have had no issues before installing the software Intellipoint 6 of Microsoft).

    There is a supplementary program (MS or third party) that completely removes the Intellipoint software?

    I'm an MCP and know how to use the registry. If there is one there, who knows what registry cahnges I need to do to fix this please let me know.

    Hi loufah jones,.

    Microsoft had an uninstall program called "Windows Installer Cleanup utility", but it seems that they removed the utility.

    I will suggest you to download a free software utility that has helped many people to eliminate the traces of their registry entries and uninstalling software.

    You can download the software from the link given:
    http://www.revouninstaller.com/

    BTW, when are you going to put the mouse on sale on Ebay? :)

    Concerning
    The Terminator

  • Problem installing with WPS54G on new computer w/Windows 7

    When settiing upward the PS on a new computer with Windows 7, I get 2 error messages.  The first is: "address is not valid - enter a valid address - try again."  The other rises after that: "Put in failure-error Code 87 printer."

    The PS is set up on another computer in my home and works very well.  The printer is set up on the new computer.  Is this a compatibility issue with Windows 7?

    Can I fix?

    As the Printserver is already installed, you don't need to run the CD for the Printserver again on the new computer. You just need to open ports on computer Windows7... Check out this link.

  • having problems installing with Windows 7 & itunes.

    How can I overcome the problem?  Error message says 32 version of Microsoft VC80 CRT victory & public key token, architecture proceesor x 86?

    any help welcome

    I can list if necessary complete error message

    A 2nd message reference to Apple Mobile Device?

    Install and then back to back & in between these 2 messages

    Ready to contact by e-mail if you have a complex solution.

    Finally, has given up trying different solutions & restored the operating system "out of the box" settings back to the original

    I - tunes installed perfectly!

    that was all I wanted to do in the first place

    Thank you all for the advice

Maybe you are looking for