Sponsored Content
Operating Systems Solaris Need help to compile and create python64 bit (2.7.9) on Solaris10 Post 303033507 by Sumanthsv on Sunday 7th of April 2019 06:19:18 AM
Old 04-07-2019
Hi,

While debugging I came to know that the following error line appears many times

Code:
WARNING: renaming "itertools" since importing it failed: ld.so.1: python: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
building 'future_builtins' extension
WARNING: renaming "future_builtins" since importing it failed: ld.so.1: python: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
building '_random' extension

The above same error line appears many times. I have just copied little

I have also changed the configure line as below,

Code:
./configure  CC="gcc -m64" CXX="g++ -m64" CFLAGS=-m64 LDFLAGS="-L /usr/sfw/lib/amd64/"

And i have added environment variable LD_LIBARAY_PATH as follows where 64bit libraries are available

Code:
LD_LIBARAY_PATH=/usr/lib/64/ld.so.1

I dont know why it is pointing to 32 bit library only(/usr/sfw/lib/libgcc_s.so.1) instead of "/usr/sfw/lib/libgcc_s.so.1" it should take /usr/sfw/lib/amd64/libgcc_s.so.1

TIA
 

10 More Discussions You Might Find Interesting

1. Solaris

error: compile 64 bit mysql on Solaris 10

I'm trying to build 64 bit mysql-5.0.37 on Solaris 10. CFLAGS="-O3" CXX='gcc -m64 -mcpu=v9' CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure -disable-shared --prefix=/usr/local/mysql --datadir=/home1/mysql_data --with-mysqld-user=mysql ... (0 Replies)
Discussion started by: csross
0 Replies

2. Linux

Is it possible to compile 64 bit application on 32 bit machine

Hi, I am using 32 bit machine, and I want to compile 64 bit application on 32-bit machine. So please tell me is it possible or not? Regards Mandar (7 Replies)
Discussion started by: Mandar123
7 Replies

3. Solaris

How do I compile a 64-bit program on SPARC??

Hi, wcslen(), strlen() returns size_t. On 64-bit platform i want to use int like str length is 10. int len = wcslen(str); On 64-bit what should I need to do if i wants the length in int. Because getting error as "Conversion of 64 bit type value to "int" causes truncation". if i... (17 Replies)
Discussion started by: amit_27
17 Replies

4. UNIX for Dummies Questions & Answers

Solaris10 rrdtool compile issues

Hi all, I'm trying to install rrdtools on a sparc solaris10 system for use with Nagiosgraph. I inititially just added the rrdtools package from sunfreeware but this package doesn't include the directory that Perl needs. I've been told that compiling from source is my only option. I;m trying... (0 Replies)
Discussion started by: Donkey25
0 Replies

5. UNIX for Dummies Questions & Answers

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $make . . . Making linkable xxx.o proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx Pro*C/C++: Release 9.2.0.1.0 - Production on Thu... (1 Reply)
Discussion started by: suhaswallur
1 Replies

6. UNIX for Dummies Questions & Answers

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $ make . . . Making linkable rim_grd_main.o proc sqlcheck=full user=/ include=../include include=/rims/prod/include iname=rim_grd_main.pcx Pro*C/C++: Release... (1 Reply)
Discussion started by: suhaswallur
1 Replies

7. Solaris

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $make . . . Making linkable xxx.o proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx Pro*C/C++: Release 9.2.0.1.0 - Production on... (2 Replies)
Discussion started by: suhaswallur
2 Replies

8. Linux

Request: Compile Earlier Version of XTIDE and upload XTTPD binary on 64 bit Linux

Can someone try to compile this older version of xtide (attached) on 64-bit Intel/Linux and upload the xttpd binary? I have a friend who needs an older version up and running because the newer version does not support his required harmonic files. Thanks! (7 Replies)
Discussion started by: Neo
7 Replies

9. Solaris

How to create Zones on Solaris10

Hi, Can anyone plz explain how to cerate zones on Solaris10 (2 Replies)
Discussion started by: mobilethink
2 Replies

10. Programming

Create a C source and compile inside Python 1.4.0 to 3.7.0 in Python for ALL? platforms...

Hi all... As you know I like making code backwards compatible for as many platforms as possible. This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
libusb(3LIB)							Interface Libraries						      libusb(3LIB)

NAME
libusb - user-space USB device management library SYNOPSIS
cc [ flag... ] -I/usr/sfw/include file... -L/usr/sfw/lib -R/usr/sfw/lib -lusb [ library... ] #include <usb.h> DESCRIPTION
The libusb library contains interfaces for managing USB devices without a kernel driver. It is an open-source API supported on Linux, Mac- OS X, and NetBSD. See http://libusb.sourceforge.net. The current implementation is version 0.1.8 of the libusb API. Complete documentation for this library can be found at /usr/sfw/share/doc/libusb/libusb.txt. INTERFACES
The shared object libusb.so.1 provides the following public interfaces. See intro(3) for additional information on shared object inter- faces. usb_bulk_read usb_bulk_write usb_claim_interface usb_clear_halt usb_close usb_control_msg usb_find_busses usb_find_devices usb_get_busses usb_get_descriptor_by_endpoint usb_get_descriptor usb_get_string usb_get_string_simple usb_init usb_interrupt_read usb_interrupt_write usb_open usb_release_interface usb_reset usb_resetep usb_set_altinterface usb_set_configuration usb_set_debug usb_strerror FILES
/usr/sfw/lib/libusb.so.1 shared object /usr/sfw/lib/libusb_plugins implementation-specific libusb modules /usr/sfw/bin/libusb-config script to determine linking environment ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibusb, SUNWlibusbut, | | |SUNWlibugenusb | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
intro(3), attributes(5) http://libusb.sourceforge.net SunOS 5.10 14 Oct 2004 libusb(3LIB)
All times are GMT -4. The time now is 06:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy