The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




Thread: C compile error
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-29-2006
kuampang kuampang is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 5
C compile error

hello can anyone help?
i make a C code in FreeBSD 5.4 and it succeed to run
the program requires connection to mysql server
when i try to compile it under solaris i get this error message

ld: fatal: file ./lib/libmysqlclient.so: wrong ELF machine type: EM_386

why? and how to solve this problem? thx for any help