Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 481407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:59:29+00:00 2026-05-13T00:59:29+00:00

So here is the story. I have this device that uses Linux and more

  • 0

So here is the story. I have this device that uses Linux and more open source tools(btw its an ARM). And I was given the task of creating some magic cashier application with it.

I have done it and now my boss have made a new request. He wants me to make that stuff(the device) connect to a remote database(preferably Oracle). So thats what I started doing with the light version of oracle instant client. Everything is fine and cool until I ran my first hello world:

#include <occi.h>

using namespace oracle::occi;

int main(){
  Environment *env = Environment::createEnvironment();
  Connection *conn = env->createConnection("HR", "password");
  env->terminateConnection(conn);
  Environment::terminateEnvironment(env);
  return 0;
}

Linking against occi, clntsh, thread;
And setting the library search path, along other stuff to: “${workspace_loc:/OracleTest/instantclient_10_2}” that is the directory that holds my .so files;

Here is the compilation command:

ucfront-g++ -Wl,-elf2flt="r" -static -o OracleTest  ./main.o   -locci -lclntsh -lthread -L/usr/local/arm-elf/lib -L"C:\workspace\OracleTest\instantclient_10_2" -L/usr/local/fit-libs/lib

And here is the error:

/usr/local/arm-elf/bin/ld.real: cannot find -locci collect2: ld returned 1 exit status

And there are a few things that I would like to mention:

1- I’m running windows and compiling this for linux, the instant client version that I’ve downloaded is for linux x86(No Idea if that will work or if it could be the source of the problem).

2- I’m using a modified version of eclipse to develop, specific for that device.

3- I have no idea if I should move those Oracle libs to the device after the compilation, so if anyone could give me orientation on that, I would be very thankful.

TLDR: I wan’t to compile the above code but it fails to link, help, please!

EDIT:

To the two first answers, no I haven’t found any specific ARM libraries, I don’t think there are any.

Here is the link if anyone can find anything that resemble an ARM distribution I would be thankful.
There are two RISC distribution but I don’t know if they are compatible with ARM :

Instant Client for HP-UX PA-RISC (64-bit)
Instant Client for HP-UX PA-RISC (32-bit) 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:59:29+00:00Added an answer on May 13, 2026 at 12:59 am

    If you do not have ARM versions of the Oracle library, you’re totally out of luck there and would need to get one (perhaps there is a free driver?) or implement the wire protocol manually.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the story... I have a jQuery function that does something, this function is
Right, here's the story: We have had a website for one of our brands
This is an extension of a question I previously asked here . Long story
I have a class called Device that accepts two policies as far as I
Ok, long story short I have a Windows service that handles Win32_VolumeChangeEvent and logs
I have an app that works fine in the debug mode on the device.
Here, the Sencha team explains how to have a one to many relationship: http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Store
Here is the story. I was doing a program, every time the program is
Here's the story. I created an interface, IVehicle . I explicitly implemented the interface
Lately, I'v been struggling with an annoying situation on ASP.NET MVC. Here's the story

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.