64 bit linking on linux ?

Hello,
I'm running Ubuntu 7.10 on two machines AMD64 and x86 architectures.
It appears that I have a 32 bit sun compiler:
$ sunCC -V
sunCC: Sun C++ 5.9 Linux_i386 Patch 124865-01 2007/07/30
It work fine on Ubuntu 7.10 x86, but there seems to be a linker problem on AMD64:
$ sunCC sunCCTFunc.cc
/usr/lib64/libm.so: file not recognized: File format not recognized
$ sunCC -m64 sunCCTFunc.cc
/usr/lib64/libm.so: file not recognized: File format not recognized
What am I doing wrong ?
Thanks in advance,
F Beekhof

The Linux system linker cannot (yet) handle comdat sections that are in object files created by the Sun C++ compiler. (The linker garbles the comdat sections.) Sun Studio on Linux comes with its own linker, which is a Linux linker with the comdat features fixed. The CC command runs the Sun Studio version of the linker.
Apparently you are using a newer version of Linux, whose libraries use an object file format not recognized by the older linker supplied with Sun Studio. This is one reason why Ubuntu is not on our current list of supported Linux distributions.
Quite a while ago we submitted the linker source code fixes to the Linux community for inclusion in the Linux source base. We hope that a future Linux linker will be able to link Sun C++ object code modules correctly. Providing our own linker is not a sustainable solution, for reasons such as you have discovered.
We are aware of the problem with newer object file formats, and are working on a solution. I can't predict when a solution will be available.

Similar Messages

  • OraOledb for 64-bit, Linked Servers and SQL Server 2005 issues

    Our environment is : SQL Server 2005, Windows Server 2003, 64-bit and 32-bit operating systems.
    Problem on 64-bit operating system box: (32-bit works fine).
    I am trying to access Oracle 10g database using linked server from our SQL Server 2005. In case of number fileds i got the following error:
    Invalid data for type "numeric".
    After going through one of the posting in this forumn i was able to resolve the problem by converting those column values to char while querying and then converting them back to numeric type on SQL server side.
    But today i ran into another problem. There is a VARCHAR2 column. I was able to retrieve the data yesterday for that column but today i am getting a blank recordset. If i exclude the colum from the query then i am getting all the rows.
    I am querying against a view and it has got a number of columns whose data type is VARCHAR2.
    Again the problem is on 64-bit operating system only. We have a 32-bit operating system on which i am able to retrieve the data including this column. I looked at the data and everything looks OK. No funny characters etc.
    I tried workarounds like using cast, to_char, checking for nulls etc., Nothing works.
    Any help is greately appreciated. Thanks.

    Did you find a resolution for this? We have similar problem. Set up a linked server in SQL 2006 to Oracle (running on Windows 64-bit) Linked server works and views I had set up were working but they added some new data in the Oracle test database I am using and now I get errors on one of the views.
    Error I am getting on the view is "Cannot initialize the data source object of OLE DB Provider "OraOLDEDB.ORacle" for the linked server"
    If I fine tune my queries to find the specific table or view that is at issue, then I get the error "inconsistent metadata for a column"

  • Do Firefox's and Thunderbird's versions 32 bit work also for 64 bit systems in Linux?

    Hello
    I installed on my 64 bit laptop some Linux distros, each one in an alongside partition. Until now I used only 32 bit distros, because my machine has only 4 GB RAM and I prefer well tested softwares.
    About Firefox and Thunderbird, I don't use the distro's versions, but I download from Mozilla's site the packages tar.bz2, expand them and save them into a date partition (not a system partition), accessible by each distro. In the same partition I saved also Firefox and Thunderbird profiles, in order to use the same software, the same profiles and the same mail archive with any distro I installed.
    Now, I'd like to install also a distro that is offered only in the 64 bit version. The question is: may I use the same 32 bit version of Firefox and Thunderbird also with the 64 bit distro, sharing it (and profiles and mail archive) with the other distros (32 bit)?
    If no, may I use only for the 64 bit distro the tar.bz2 of Firefox and Thunderbird 64 bit, but keeping on sharing profiles and mail archive with 32 bit Firefox and Thunderbird (with the other distros)?
    Thanks for your help.

    You may need appropriate 32-bit packages in order to run 32-bit versions on 64-bit Linux though.
    There are 64-bit versions of Firefox for Linux at https://www.mozilla.org/firefox/all/ and for Thunderbird well they do not make as easy to get http://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/releases/31.2.0/linux-x86_64/ just choose your language like say en-US.

  • Can I Install OAS 10.1.3.1 32 bit on Redhat Linux 64 bit ?

    Hi all,
    Can I Install OAS 10.1.3.1 32 bit on Redhat Linux ES 4 (64 bit) ?
    Thank you for your help,
    xtanto

    I am sure, this is possible.
    I wouldn't advice you to waist resources with 32-bit software on your 64-bit OS, but if you want to, you can.

  • BB link for linux OS (Q10)

    Hi,
    how could I install BB link under Linux OS?
    thx

    It is not (currently) possible.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Installing OBIEE on 64 bit Redhat Enterprise Linux 5

    Hello,
    We have a 64 bit Redhat Enterptise Linux 5 box, and I installed on it the 32 bit Oracle Database client as well as the OBIEE software.
    The 64 bit installation requirements state: "For 64-bit Linux system installations, you must use the Oracle Database Client 32-bit libraries."
    However, the installer never prompted me for the location of the 32 bit Oracle Database Client libraries.
    How can I make sure that these libraries were indeed used during the installation?
    Thank you very much.
    -sb

    The installer does not reference any libraries. You will need to place them in the correct or refer to the Database client libraries via your system path for your Server to work correctly.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdf
    Configuring Oracle Databases BI Server Under UNIX (page 135)

  • Anyone know when DS will be supported as 64 bit app on Linux?

    Anyone know when DS will be supported as 64 bit app on Linux?
    Thanks, Mike

    It appears on the App store when I open it on my iPhone. Haven't tried installing it as the reviews are rather unflattering at this point, but at least it looks like it should be installable...

  • Does ds 52 run as 64 bit app under linux?

    does ds 52 run as 64 bit app under linux?
    Under 64 bit RH 3 AMD64 V20Z?
    Under 64 bit RH 3 on Dell or other x86 64 bit hardware?
    I've searched all over the public Sun site with no conclusive answer.
    Thanks, Mike

    No. 32 bit on Linux.

  • Installing Java EE SDK on 64-bit Red Hat Linux

    I've went through a lot of pain to get J2EE SDK / GlassFish server on a AMD64 Red Hat Enterprise Linux 5 server box. Maybe it helps somebody.
    Long story short, it all seems to boil down to the fact that the J2EE Linux .bin (non-RPM) packages Sun provides require a 32-bit JVM running. So if you just installed 64-bit JDK you're toasted.
    Chronicle of pain and solution below:
    Downloaded the Linux packages for full EE5 SDK, also the bundle for GlassFish from http://java.sun.com/javaee/downloads/
    Tried ./java_ee_sdk-5_08-jdk-6u17-linux.bin No luck. First I didn't have libstdc++.so.5 but so.6. I did
    yum install compat-libstdc++-33
    Tried again. It hanged:
    *** glibc detected *** ... double free or corruption error
    Downloaded the JDK RPM version. It worked fine:
    # java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
    Let's go again with EE SDK. Nope. Different error this time:
    *** glibc detected *** ./java_ee_sdk-5_08-jdk-6u17-linux.bin: malloc(): memory corruption: 0x0992d2c0 ***
    Tried setting env variable MALLOC_CHECK_:
    export MALLOC_CHECK_=0
    New error, but no hanging this time:
    Attach to native process failed
    Realized that JDK packages were platform-specific, unlike J2EE packages. Googled this: http://forums.java.net/jive/thread.jspa?threadID=37370
    Downloaded 32-bit JRE (i586, not 64-bit) RPM package and installed it.
    Redirected default java link to 32-bit JRE's JVM:
    cd /usr/java/
    unlink latest
    ln -s jre1.6.0_17/ latest
    Run installer again, explicitly saying where was the JVM the installer needed:
    cd /tmp
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin -javahome /usr/java/jre1.6.0_17
    It worked! :-)
    Then reverted back to JDK's 64-bit JVM:
    cd /usr/java/
    unlink latest
    ln -s jdk1.6.0_17/ latest
    Hope this works for you too.

    This is very close to my problem,
    32 bit Fedora release 11 (Leonidas)
    ls -lh java_ee_sdk-5_08-jdk-6u17-linux.bin
    -rwxrwxr-x. 1 morten morten 161M 2009-11-17 20:18 java_ee_sdk-5_08-jdk-6u17-linux.bin
    md5sum java_ee_sdk-5_08-jdk-6u17-linux.bin
    dc71fc44ce1d10c1a9d53edde4ff858f java_ee_sdk-5_08-jdk-6u17-linux.bin
    should be a correct download.
    chmod a+x java_ee_sdk-5_08-jdk-6u17-linux.bin
    # ./java_ee_sdk-5_08-jdk-6u17-linux.bin
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    same error as you reports. There was also an error and IIRC an incompatibility with the latest java plug in for firefox .
    # find / -name '*plugin*' -print | grep firefox
    /home/morten/.mozilla/firefox/kpsa4zom.default/pluginreg.dat
    /home/morten/.mozilla/firefox/g59tp699.default/pluginreg.dat
    /usr/lib/firefox-3.5.5/searchplugins
    # find / -name libjavaplugin_oji.so -print
    /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    /usr/java/jre1.6.0_17/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
    cd /usr/lib/firefox-3.5.5/searchplugins
    # ls -l | grep java
    lrwxrwxrwx. 1 root root 58 2009-11-17 19:42 libjavaplugin_oji.so -> /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    It did not work on first attempt.
    I just wanted to report that similar problems may occur, and I will try your suggestions. If someone knows other details about this topic JDK on Fedora or Red Hat based Linux, please comment.
    The instructions from here:
    How do I download and install Java for my Linux computer?:
    http://java.com/en/download/help/5000010500.xml#rpm
    Java Downloads for Linux Recommended Version 6 Update 17
    did not work as documented. On my 32 bit fedora 11.

  • 64-bit anyconnect on linux - problems with libraries

    Hi,
    we in the process of setting up Cisco Anyconenct for Linux 64-bit machines and are noticing some problems which seams to be related to the client not finding all libraries it expects. For example we got the issue that when connecting for the first time(no profile, ie no <ServerCertificateThumbprint>) the client find the Server Certificate no valid(which it is). We found out that the reson for that beeing Anyconnect was not properly using the nss-certstore for all operations. That was because the client cold not locate libnssckbi.so which was solved by:
    ln -s /usr/lib64/libnssckbi.so /home/user/.mozilla/firefox/smhi.default/libnssckbi.so
    Is there any other common librarie problems we should be aware of?
    We are running Redhat 6 desktop.
    Best regards
    /Mattias

    Hi,
    I will reply on my own posting.
    Other lib we have found it nessecary to link is:
    ln -s /opt/cisco/anyconnect/lib/libcurl.so.3 /opt/cisco/anyconnect/lib/libcurl.so
    Also, if running a 32-bit Anyconnect client on a 64-bit OS (which currently would be nessecary if you would like to run host-scan/securedesktop/posture) is:
    Create /usr/local/firefox with links
         [a001375@c14446 firefox]$ ls -la
    total 8
    drwxr-xr-x   2 root root 4096 Oct 31 18:37 .
    drwxr-xr-x. 14 root root 4096 Oct 31 18:35 ..
    lrwxrwxrwx   1 root root   18 Oct 31 17:06 libfreebl3.so -> /lib/libfreebl3.so
    lrwxrwxrwx   1 root root   16 Oct 31 17:00 libnspr4.so -> /lib/libnspr4.so
    lrwxrwxrwx   1 root root   19 Oct 31 16:58 libnss3.so -> /usr/lib/libnss3.so
    lrwxrwxrwx   1 root root   22 Oct 31 16:59 libnssdbm3.so -> /usr/lib/libnssdbm3.so
    lrwxrwxrwx   1 root root   15 Oct 31 17:00 libplc4.so -> /lib/libplc4.so
    lrwxrwxrwx   1 root root   21 Oct 31 17:00 libsmime3.so -> /usr/lib/libsmime3.so
    lrwxrwxrwx   1 root root   23 Oct 31 17:00 libsoftokn3.so -> /usr/lib/libsoftokn3.so
    I can also share that I recieved an e-mail the other day from a nice fellow that would let us know they had produced a .SPEC-file for buliding AnyConnect RPMs.
    Very usefull, thanks a lot Philip.
    You will find information on that here:
    https://github.com/pdurbin/anyconnect

  • Upgrade from 10G windows 32-bit to 11G linux 64-bit

    Hi,
    I am moving a 10g database on windows 32-bit environment to 11G linux 64-bit environment. I am using rman to restore the database on the new environment. The restore completes successfully after which when I open the database in upgrade mode and run utlirp.sql in order to migrate it from 32-bit to 64-bit I encounter the following error:
    create or replace package STANDARD AUTHID CURRENT_USER is -- careful on this line; SED edit occurs!
    /********** Types and subtypes, do not reorder **********/
    type BOOLEAN is (FALSE, TRUE);
    type DATE is DATE_BASE;
    type NUMBER is NUMBER_BASE;
    subtype FLOAT is NUMBER; -- NUMBER(126)
    -- to your own code as it may in future interfere with the package
    -- consistency maintenance mechanisms and could have dire results.
    --#### timestamp pragma (please keep this last)
    pragma TIMESTAMP('2006-04-18:00:00:00');
    end;
    create or replace
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00942: table or view does not exist
    Thanks in advance for your help.

    According to
    ID 757245.1 Can you Upgrade RDBMS and Convert From 32-bit to 64-bit Binaries Directly on Linux or Windows based Intel Platforms Using the Database Upgrade Assistant (DBUA)oracle does not support upgrading and changing the wordsize at the same time. A workaround is to upgrade it on the same platform and then move it to the new oS and change wordisize.
    Ioan
    Edited by: ioan on 15.1.2010 3:32

  • MySQL ODBC driver (32 bit) linked server, architecture mismatch

    Hello,
    I am trying to create a linked server in SQL 2012 Management Studio with a MySQL external server. I have used the 32bit ODBC driver as instructed by the developer, following this rule:
    To manage a data source that connects to a 32-bit driver under 64-bit platform, use c:\windows\sysWOW64\odbcad32.exe.
    My connection is fine using the ODBC connector, but when I try to create the linked server I get an architecture mismatch error: The specified DSN contains an architecture mismatch between the Driver and Application Error 7303.
    Can someone help?
    Best regards
    Kostas
    Kostas Backas-Systemgraph Technologies

    Hello,
    What's the bit verison of the SQL Server ?
    Based on your description, you create a DSN connect to MySQL database with 32 bit MySQL ODBC driver under 32bit ODBC Administrator tool (sysWOW64\odbcad32.exe).
    When you create linked server on SQL Server instance, it will use 64 bit Microsoft OLE DB Provider for ODBC Drivers if the bit version of SQL Server is 64 bit. That may cause the error you received. In that case, please download 64bit MySQL ODBC driver and
    create a DSN with 64 bit ODBC Administrator tool.
    Reference: http://dev.mysql.com/downloads/connector/odbc/
    If I have any misunderstanding, please correct me.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Page to page PDF links under Linux

    I'm using Framemaker version 8.0p277.
    I have created separate pages for a menu hierarchy that cascades from "contents.pdf" down to subordinate pages like "genh_toc.pdf". Each file is a single page; no menu is collected into a book (but easily could be - I just inherited this setup). Subordinate pages have links to manuals, which are comprised of 4 to 20+ files.
    The menu links are made using the Hypertext command, openlinkfitwin. They work under Windows, but not under Linux. I can see that the names are correct in the Linux status bar.
    Your thoughts?

    If the links work okay on Windows Adobe Reader but not Linux Adobe Reader, and you are using relative pathnames in your links, then this could be a Linux Adobe Reader problem. Several versions of Adobe Reader on various platforms are notorious for document links not working, especially if the link has to open a document in a different directory.
    You could try updating your Linux Adobe Reader version, although bug-fixed versions of Reader are not always rolled out on all platforms - Linux users often have to wait a long time for a fixed version.
    Or you could (as I have been forced to do by this chronic and recurring bug) abandon Reader altogether and use xpdf instead.

  • Segmentation Fault Error onR12.1.1(64 bit) Installation on Linux 5.5-64 bit

    Dear Friends,
    I am Installing a Oracle E-Biz R12.1.1 (64 bit) on Red Hat Enterprise Linux Server release 5.5 (Tikanga) 64-bit.
    While Installining R12.1.1, DB Tier, Configuration Upload failed. Also, when we checked from server, sqlplus, lsnrctl tnsping... every thing giving Segmentation Fault Error.
    All the RPM's are Installed.
    Please let me know if there is any fix.
    Regards,

    Hi;
    Please check log file for more details about error
    How to locate the log files and troubleshoot RapidWiz for R12 [ID 452120.1]
    Regard
    Helios

  • OBIEE 11g-64 bit  installation on linux 2.X machine box

    Hi Gurus,
    Can we install OBIEE 11g on a linux 2.6.9 version which is a 64-bit (ia64 ia64 ia64 GNU/Linux).
    Please let me know.
    Thanks in advance,
    haranadh

    Hi,
    I found that the OBIEE 11g doesn't support my platform Itanium 64 bit.
    Please let me know if you have any workaround or any patches?
    Thanks,
    Haranadh

Maybe you are looking for

  • Itunes match apple id issues

    My music downloads no longer download atumatically when I lets say purchase a song on iphone. it wont downloadon my computer. When I click preferences I am using the same apple id on my iphone and imac. All I get on my Mac is that this computer is as

  • Headache of  a Problem.  Trying To Reinstall

    I will give a rundown of what has happened to date. Last Sunday, I booted up my mac (macbook pro) and it wouldn't boot into osX. It gave me a command prompt that was blinking erradically and I wasn't able to type anything either. I got very nervous,

  • Working in WORD 2010, I spontaneou​sly lose the document. Cannot recover it is gone.

    While working on a word document, it will just disappear with WORD still open but nothing but a cursor at the top left of the page.  The document has been saved but it is as if it was just re-saved to a blank page.

  • Uploading/Sending photos don't work.

    So, I don't know why but this started happening since they other day when I installed ios 7 onto my iPad 3, but every time I try to upload the photos that are saved on my ipad onto apps like Facebook, Twitter, Google+ or Imgur they just crash, or in

  • Need Assistance on RAM

    Greetings, My laptop model is Compaq Presario CQ40-401AX and it has originally installed with 1GB RAM [ 1GB 2Rx16 PC2 64005-666].This works fine with gaming or working. But I took my previous laptop's RAM and slotted into Compaq laptop, everything se