LibJPEG.dylib - file is not of the required architecture

That message from the title is really driving me crazy... It's what I got after trying to build a SDL project on Xcode.
I downloaded libJPEG from their website and followed some instructions to build it.
+cd jpeg-6b+
+cp /usr/share/libtool/config.sub .+
+cp /usr/share/libtool/config.guess .+
+./configure --enable-static --enable-shared+
A thing I've noticed from that part: among the messages from ./configure I see:
- checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) is GNU ld... no
- checking whether the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared libraries... no
Moving on...
make
+sudo make+
+sudo ranlib /usr/local/lib/libjpeg.a+
I've done that compiling maybe three times, and still can't compile anything with SDL. Everything that Xcode throws me is the title of my post. Looking at the dates of the files on /usr/local/lib, I got that their creation and modification dates are:
- libjpeg.a -> Today
- libjpeg.dylib -> 10/20/2008 (think that's the date that I've got Leopard installed)
I've searched everywhere about possible solutions, without success. Any ideas?

I see...
I've tried the command you told me and this is what I've got:
+file /usr/local/lib/libjpeg.dylib+
+/usr/local/lib/libjpeg.dylib: Mach-O dynamically linked shared library i386+
How is that on a Universal install of Leopard it installs Intel-only dylibs?
Anyway... Thanks for that. Now... Is there any way to build a Universal dylib of that? I'd really like to develop on SDL... And I can't afford a Mac Intel right now... O_o

Similar Messages

  • Linking to libgcrypt results in 'libgcrypt.dylib, file is not of required'

    I recently upgraded to Snow Leopard and installed the associated developer tools. I have a Java application that calls a small native library that I wrote via the usual JNI layer.
    The native library I wrote uses the 'gcrypt and 'gpg-error' libraries. Now when I compile my library, I get:
    <source>
    ld: warning: in /usr/local/lib/libgcrypt.dylib, file is not of required architecture
    ld: warning: in /usr/local/lib/libgpg-error.dylib, file is not of required architecture
    Undefined symbols:
    "gcry_set_fatalerrorhandler", referenced from:
    _initialize in ccP5MaAz.o
    </source>
    My Java application is quite large and uses many other libraries, all of which I've updated to 64-bit versions.
    I can compile my JNI native library in 32 bit mode (e.g., with gcc -m32), but then my Java application fails with the following when I run it:
    <source>
    Exception in thread "main" java.lang.UnsatisfiedLinkError: ... liboptimizerModel.jnilib: no suitable image found. ...
    Did find: ... liboptimizerModel.jnilib: mach-o, but wrong architecture
    </source>
    Do 64-bit versions of these (gcrypt n gpg-error) libraries exist?
    And what is the markup to delineate source code blocks?

    redBeard wrote:
    When I download n try to build the library, it fails to build.
    There's your problem. You should fix that before proceeding. The first step is to try it with default options. That should work. If it doesn't - stop there. You have work to do.
    Fortunately, someone else had the same problem and documented the solution. I used this solution and what I built seems to work
    Not according to your first post.
    I have not put the libraries through the paces.
    Yes you did. And it didn't work.
    It is Thanksgiving eve and the wife is growling at me.....
    A programmer with a social life? What a sad state of affairs...
    The solution is to run 'configure' with '--disable-asm' option before running 'make' on the library.
    That doesn't sound so bad.
    Also, you must make a 64-bit version of the dependent library (libgpg-error) first and point to that. So, the entire configure line looks like:
    ./configure --prefix=/usr/local-x86_64 --disable-asm --with-gpg-error-prefix=/usr/local-x86_64
    That's just awful.
    First, build with default options just to see if it works. The first thing you find out is that you need libgpg-error installed. So build that with default options and install - no problems. Then try libgcrypt. Here you find that they have some non-portable assembly and the configure script don't take that into consideration. So, you add '--disable-asm'. Make and install. All done.
    Next, you need to ask yourself if you want to distribute the software you link with this stuff. If so, then you need to build universal binary versions. Maybe you want to build universal binary just because you want to. No problem. But first, build against your native architecture.

  • Opening my Photoshop Elements 11 does not work. I always get following message: "Could not open a volume of work, because the file is locked or you do not have the required permissions. Undo the protection of the file on using the command 'Properties' in

    Opening my Photoshop Elements 11 does not work. I always get following message: "Could not open a volume of work, because the file is locked or you do not have the required permissions. Undo the protection of the file on using the command 'Properties' in Windows Explorer." What is wrong? I cannot unterstand what I have to do!

    Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
    Mylenium

  • A form template .xsn file cannot be accessed. You may not have the required permissions to open the file

    Hi there,
    When a workflow task is assigned to a user, he cannot open a particular task. and
    sees this error in browser:
    A form template .xsn file cannot be accessed. You may not have the required permissions to open the file
    The ULS Log for Correlation ID has these errors:
    The XSN is null and its not a cross server issue. Most likely a permission issue
    The XSN is null after attempting to get it from SiteAndWebCache
    Please note:
    - This user can open all other forms in the same location.
    - If I increase his permission to Site Owner, he can open this form - but we cannot allow this.
    - He was able to open it earlier - I made minor changes in the form and republished the workflow - since then he is having the trouble. 
    Any help will be appreciated!
    Thanks.

    Hi ran009,
    Please check if that user has contributor permission on the list that the workflow associated and have Edit item permission on related task list/item.
    Also check if the workflow form or other workflow files has been checked out or not. If yes, check it in and test it again. Check Wayne Fan’s post in this thread if you have trouble to check the check-out/in status of the task form.
    http://social.technet.microsoft.com/forums/en-US/sharepointcustomizationprevious/thread/cc8dc07b-b73d-424a-a3d4-2a2d7ad84504
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • HT1719 my ipod shuffle wont sync, it says can not sync the required file can not be found??? please help.

    my ipod shuffle wont sync, it says can not sync the required file can not be found??? please help.

    if u can get your hands on a mac tis will work
    http://www.youtube.com/watch?v=vfnXjV9p0pA&feature=related

  • Error message when opening adobe premier 10 saved film file , this file is not supported or required codec not installed

    Hi
    Can any one help, keep getting error message,error message when opening adobe premier 10 film file , this file is not supported or required codec not installed,
    Thanks
    Colin65

    Steve,
    Not to sure what type AVI files they are, the storage devise is at present offshore on a job.
    Can you clarify, if you edit/import video footage with adobe premiere 10 and then create a file, the file or the original raw footage is not stored on computer for re-use, if it is stored, is it stored in the original format.
    Also please find details of storage devise,
    Dogcam Portable Media Center PMC-500r
    Quick DetailsModel Number:PMC-500R
    SpecificationsPMC-500R20G/40G Portable Multimedia PlayerPMC-500R 20G/40G Portable Multimedia Player, Supports
    PMC-500R20G/40G Portable Multimedia PlayerPMC-500R 20G/40G Portable Multimedia Player, Supports MPEG-4 File FormatsKey Specifications/Special Features:Video recorder: supports digital video recoding in MPEG4 from Line-in Video playback: supports MPEG4 (AVI), MPEG1 (.MPG), DVD (MPEG2,.VOB) Supports MPEG4 with 720 x 480 at 30 Frames/s MPEG4 movie playing with Fast Forward, Fast Reverse, Time search function Music playback: supports MP3, WMA, WAV Music playing with play list function MP3 ID3 information and sorting, LRC Music playing with repeat, shuffle playing function Photos view: supports JPEG and slide show, rotate, nail view Easy backup of photos in digital camera -USB OTG technology Audio recording: continues recording for over 40 hours High resolution output for HDTV (Y, U, V output; 704 x 480 (N) or 704 x 576 (P), at 25/30 frames/s) Super dlim size: 126 x 79 x 22.5 mm Games E-book with bookmark, auto turning page, page search function File browser function with Copy, Delete, HDD capacity information With 3.5" LCD QVGA TFT panel (960 x 240) Long time battery running (over 5 hours for video, and 9 hours for audio) 1.8" 20G/40G storage capacity High fidelity sound with good earphoneCompass Electronics Co.,

  • The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.

    I am getting the following error when attempting to INSERT the results of an "EXEC(@MDXQuery) at SSAS LinkedServer":
    The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.
    Here is code that illustrates what I am doing:
    DECLARE @MDX varchar(max);
    SET @MDX='
    SELECT
    [Measures].[Extended Service Count]
    } ON COLUMNS,
    NON EMPTY [Organization].[By Manufacturer].[Manufacturer]
    ON ROWS
    FROM (
    SELECT
    {[Organization].[Org Tree].&[2025],[Organization].[Org Tree].&[2040]} ON 0
    FROM [MyCube]
    /* Test 1 */
    EXECUTE(@MDX) at SSASLinkedServer;
    /* Test 2 */
    DECLARE @ResultsB TABLE (
    Manufacturer varchar(255)
    , ExtendedServiceCount float
    INSERT INTO @ResultsB (Manufacturer, ExtendedServiceCount) EXECUTE(@MDX) at SSASLinkedServer;
    Test 1 succeeds, returning expected results, and Test 2 fails returning the error mentioned above.
    Other articles I've found so far don't seem to apply to my case.  I am not creating any explicit transactions in my code.   When I use OPENQUERY, I am able to do the insert just fine, but not when I use EXEC @MDX at LinkedServer.
    Unfortunately in some variations of the query, I run into the 8800 character limit on OPENQUERY, so I need to use this other approach.
    Any ideas?
    -Tab Alleman

    Hi Tab,
    In this case, SQL Server Analysis Services doesn’t support Distributed Transactions by design. Here is a similar thread about this issue for your reference, please see:
    http://social.technet.microsoft.com/Forums/en-US/8b07be45-01b6-49d4-b773-9f441c0e44c9/olaplinked-server-error-msolap-for-linked-server-olaplinked-server-does-not-support-the?forum=sqlanalysisservices
    One workaround is that use SQLCMD to execute the EXEC AT command and saved the results to a file, then import using SSIS.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Why is RoboHelp not displaying the required data content of .chm when linked as Help in my App ?

    Gorgeous Hello All,
    Has anyone encountered the below-said show- stopper. Another BIG TIME help required, will help me in tremendous fashion.
    Am using Adobe RoboHelp, Version 10 and IE version being 10.
    In my local machine :
    1.)I have completed my technical writing courtesy Design editor
    2.)Generating chm File : View -> Pods –> Single Source Layouts -> Right Click on Microsoft HTML Help -> Tagged Set as Primary Layout
    3.)Generating Primary Layout : File -> Generate -> Primary Layout (Microsoft HTML Help)…
    4.)Viewing Primary Layout : File -> View -> Primary Layout
    Everything works FANTASTICALLY till here with the required output (as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary and with the data contents)
    Show Stopper, At my Application Server :
    5.)I copy the entire robohelp project folder from my local machine to my application Server path
    6.)My Application has been developed in ASP .NET, Version 4.0.
    7.)Help link has been created in this application wherein here the file name of < >.chm has been linked in the code to be read from the  Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\
    8.)I login into my above-said application -> click on the Help page -> Displays the required structure /buttons as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary
    a.)Clicking on any of the Books or Topics appearing beneath Contents : The System prompts out with error cautionary message called “ Navigation to the webpage was cancelled. What you can try: Retype the address ”
    *** This is a huge SHOW-STOPPER. I spent plenty of hours on this, but unable to deciper with a solution at all) ***
    ( Note : Am able to directly open and read the required data contents by Clicking on any of the Books or Topics appearing beneath Contents from Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\ < >.chm )
    Why is the RoboHelp not displaying the required data contents of <>.chm when linked as Help in my Application ?
    Cheese – Vipin Nambiar

    If you looked at the error message and searched the forum, you should find the answer as this is a problem that started in 2005. You should not run CHM files from a server and cannot without editing the users registry. See the page below.
    http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm
    All along your questions have been based on webhelp, why suddenly are we going go CHMs.
    See Snippets on my site for the correct form of help to use in different scenarios.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Com.adobe.flashaccess.sdk.cert.ServerCredentialException: Certificate does not have the required ext

    [ Problem ]
    I’m running the sample encryption code and I’m running in to this exception:
    "com.adobe.flashaccess.sdk.cert.ServerCredentialException: Certificate does not have the required extended key usage".  I tried looking it up on javadocs but it doesn’t really tell me what’s causing it.  I get this error when encryptContent is called.  Is this something in my settings/environment or something with the certificates?
    [ Solution ]
    If you are using the EncryptContent.java sample code, please check which credential you are using for the "packagerCredentialFile" variable.  Make sure this is pointing at the .pfx file containing the packager credential.

    [ Problem ]
    I’m running the sample encryption code and I’m running in to this exception:
    "com.adobe.flashaccess.sdk.cert.ServerCredentialException: Certificate does not have the required extended key usage".  I tried looking it up on javadocs but it doesn’t really tell me what’s causing it.  I get this error when encryptContent is called.  Is this something in my settings/environment or something with the certificates?
    [ Solution ]
    If you are using the EncryptContent.java sample code, please check which credential you are using for the "packagerCredentialFile" variable.  Make sure this is pointing at the .pfx file containing the packager credential.

  • The Downloaded PDF file does not contain the Signature through BSP pages

    HI,
    We have an requirement for Distributing the FORM 16 to all Employee's through our Website, where the user will login and download his own FORM 16 ( TDS Certificate)
    This FORM 16 ( TDS Certificate ) is generated in SAP ( ECC 6.0 ) in Payroll Module.
    To satisfy the above requirement we have done the following steps.
    1) First we have modified the standards SAP Sapscript(Layout) to incorporate the Signature of Authorised Payroll Person. 
    We have done this by uploading the BMP file ( though t-code SE78 ) and then calling this file in the Standards layout which prints the FORM 16 document.
    2) WE also Modifed the Dirver program to Download the above document in a .PDF  file. 
    The Program creates the seperate file for each employee and assigns the employee number as a file name to each downloaded file. These all files are downloaded on a Users Machine.
    We opened the Downloaded .PDF files, and checked for the Signatures. The Signature were comming perfect as it ws uploaded.
    3) We uploaded these all FORM 16 PDF file off all emlpoyee's to a different SERVER ( BW 7.0 ). With the help of BASIS person, using the FTP utility.
    4) We wrote a BSP program to download this ulploaded PDF Files.
    BUT we are facing a PROBLEM in the DOWNLOADED PDF file.
    The Downloaded file does not contain the Signature which is there is the Original file we uploded this server.
    All other data in the dowloaded PDF file is Perfect other than the Signature.
    When we open the downlaoded PDF file it give's following  message on the Signautre page.
    " Xobject not found named 00013"
    The number of the Object comes different to different files.
    We are using Function module 'SCMS_STRING_TO_XSTRING' to Convert string to Xstring
    We are using the the " CALL METHOD CL_BSP_UTILITY=>DOWNLOAD" for downloading the PDF file.
    Please suggest some solution if you can
    Thanks in advnace.
    Re
    GAGAN

    HI,
    We have an requirement for Distributing the FORM 16 to all Employee's through our Website, where the user will login and download his own FORM 16 ( TDS Certificate)
    This FORM 16 ( TDS Certificate ) is generated in SAP ( ECC 6.0 ) in Payroll Module.
    To satisfy the above requirement we have done the following steps.
    1) First we have modified the standards SAP Sapscript(Layout) to incorporate the Signature of Authorised Payroll Person. 
    We have done this by uploading the BMP file ( though t-code SE78 ) and then calling this file in the Standards layout which prints the FORM 16 document.
    2) WE also Modifed the Dirver program to Download the above document in a .PDF  file. 
    The Program creates the seperate file for each employee and assigns the employee number as a file name to each downloaded file. These all files are downloaded on a Users Machine.
    We opened the Downloaded .PDF files, and checked for the Signatures. The Signature were comming perfect as it ws uploaded.
    3) We uploaded these all FORM 16 PDF file off all emlpoyee's to a different SERVER ( BW 7.0 ). With the help of BASIS person, using the FTP utility.
    4) We wrote a BSP program to download this ulploaded PDF Files.
    BUT we are facing a PROBLEM in the DOWNLOADED PDF file.
    The Downloaded file does not contain the Signature which is there is the Original file we uploded this server.
    All other data in the dowloaded PDF file is Perfect other than the Signature.
    When we open the downlaoded PDF file it give's following  message on the Signautre page.
    " Xobject not found named 00013"
    The number of the Object comes different to different files.
    We are using Function module 'SCMS_STRING_TO_XSTRING' to Convert string to Xstring
    We are using the the " CALL METHOD CL_BSP_UTILITY=>DOWNLOAD" for downloading the PDF file.
    Please suggest some solution if you can
    Thanks in advnace.
    Re
    GAGAN

  • HT3775 hello, im trying to open a document but it seems like my computer does not have the require software to open it could you please tell me what can of software do i need in my laptop?

    hello, im trying to open a document but it seems like my computer does not have the require software to open it could you please tell me what can of software do i need in my laptop?

    In order to help, more information is needed.
    What type of document is it (word document, picture or?) And do you know what software it was created with and what file format it is?

  • The SYSVAL table entry for the database version (16) does not match the required version

    We upgraded from Tidal Enterprise Scheduler (TES) 5.31 to 6.1 on fresh Windows x64 2008 R2 servers.  I did a fresh install but our DBA restored a copy of our database from pre-prod which was at 5.31.  I get the error below.  Note, SQL went from 2005 to 2012 during this upgrade.  Do I need to change a value in this table to reflect the SQL change?
    [04/29 12:47:14:198]:TIDAL Enterprise Scheduler: version 6.1.0.133
    [04/29 12:47:14:198]:Java version: 1.8.0
    [04/29 12:47:14:198]:Java Virtual Machine version: 25.0-b70
    [04/29 12:47:14:198]:Start Time : 04/29/14 12:47:14:198
    [04/29 12:47:14:198]:----------------------------------------------------------------------------
    [04/29 12:47:14:198]:Database URL :jdbc:sqlserver://SQL2012-Host:1433;responseBuffering=adaptive
    [04/29 12:47:14:198]:Database Driver :com.microsoft.sqlserver.jdbc.SQLServerDriver
    [04/29 12:47:14:198]:Maximum number of log files = 100
    [04/29 12:47:14:198]:Added a LogFile called 'RegularFile'
    [04/29 12:47:14:198]:LogManager: setting default log
    [04/29 12:47:14:214]:Retrieved a LogFile called 'RegularFile'
    [04/29 12:47:14:495]:MessageBroker: Instantiated TcpTransportServer (URI = tcp://0.0.0.0:6215)
    [04/29 12:47:16:975]:Retrieved a LogFile called 'RegularFile'
    [04/29 12:47:17:272]:The SYSVAL table entry for the database version (16) does not match the required version (23). Shutting down.
    [04/29 12:47:20:282]:
    [04/29 12:47:20:282]:
    [04/29 12:47:20:282]:Shutting down the application

    I had this error last night while applying a patch to 6.0. However in my case the version was 21 versus a required version of 23.
    As far as i know 6.1 is not compatible with the 5 db schema, so you will need an update / migration plan for the db also.

  • Solaris: The System does not have the required swap space

    I'm trying to install Oracle onto Solaris 9. The installation check fails with the error
    The System does not have the required swap space.
    I've read the install Guide I get the following when I do the memory checks
    bash-2.05# /usr/sbin/prtconf | grep "Memory size"
    Memory size: 1024 Megabytes
    bash-2.05# /usr/sbin/swap -s
    total: 767688k bytes allocated + 117080k reserved = 884768k used, 379040k available
    The install guide doesn't say how to increase the Swap Space. I would like to increase the Swap Space just for the duration of the installation. From the install guide I'll need a Swap Space of 1.5 times the Ram on the machine so I'll need 1.5GB Swap Space. Can someone help me out with the required syntax to increase the Swap File Size?

    Found something on the web that did the trick. Create a few files and then add to your swap.. In case it's of interest to anyone else here's what I had to do
    swap -l (lists files in swap)
    mkdir /tmp/swap/ (create dir for file to add to swap)
    mkfile tmp/swap/swap11 (create file for swap)
    swap -a tmp/swap/swap11 (add file to swap)
    swap -l (check files in swap)

  • Hyper-V cannot be installed: The processor does not have the required virtualization capabilities.

    I am trying to use Visual Studio 2013 with Windows Phone SDK 8.0 on Windows 8.1 Enterprise running as a guest in a VirtualBox virtual machine hosted from Windows 7 Ultimate.  The Windows Phone emulator in Visual Studio will not work.  The
    guest Hardware Virtualization settings for VT-x and Nested Paging are selected.  The BIOS setting for Virtualization is enabled.  However, in the guest Windows 8.1 features settings, the "Hyper-V Platform" option is disabled and indicates
    that the "Hyper-V cannot be installed:  The processor does not have the required virtualization capabilities."  However, I checked on my processor which is an Intel (Clarksfield), I7-740QM 1.73 and it supports Hyper-V,
    SLAT/EPT.  My BIOS has only a single option for enabling Virtualization but none of the other SLAT/EPT, VMX, XD options.  I am lost here.  Is there a solution?  Do I need to use Visual Studio 2013 and Windows Phone SDK 8.0 directly
    on a Windows 8.1 host and not through a virtual machine?

    You can't run Hyper-V inside a VirtualBox VM (nested virtualization).  It doesn't pass through the necessary CPU requirements.
    The only virtualization solution that allows for nested VMs is VMware's Workstation and vSphere Hypervisor (ESXi). VMware Player is their free product, you may be able to use it, I've not tried player, but have nested Hyper-V in both Workstation and ESXi.
    Follow the instructions here for setting up VMware Player, you need to set the VM settings and .vmx file for it to work.
    http://www.virtuallyghetto.com/2011/07/how-to-enable-support-for-nested-64bit.html
    http://www.rickygao.com/enable-hyper-v-under-vmware-workstation-for-your-lab/

  • Export failing with "The user does not have the required rights to perfrom

    We are testing an upgrade to BOXI 3.1.  We use the CrystalReportViewer .net web control to view the report.  When the export button is clicked and the Crystal Reports file format is selected, the following error message is displayed:
    "The user does not have the required rights to perfrom this operation. Please contact your administrator. "
    Notice that perfrom is not spelled correctly.  This is what actually gets displayed.
    I'm not too concerned about the spelling, but I do want to fix the error.  So I checked the security on the folder and the user does have full control.  Both advanced security options are selected:
    -View document instances that the user owns
    -Export the report's data
    So what else could be causing this?

    I had applied the full control access to the wrong group.  Once I applied that access to the user that actually generates the report, it worked.

Maybe you are looking for

  • Blue screen of death when syncing verizon I phone

    I receive a blue screen of death when I try to sync my I phone 4 with I tunes on my laptop. The initial sync went fine, I am connected to my Exchange server for email and have downloaded CD's to I Tunes, when I try to sync...blue screen. I have run r

  • Cant install itunes on windows 7 64bit

    Title says it all really, after I download the file I double click to open and nothing happens at all, no box asking me to give access just nothing. If I download 32bit this works but when I opened it it told me to install 64bit instead, so I just ca

  • FI- Vendor Invoice PARK

    Dear All, I want FM/BAPI/IDoc for PARK FI Vendor Invoice just like TCode FB60. Actual scenario is that i want to send Invoice detail from an external system which contain details without PO and want to see in SAP as PARK Invoice and that can be POSTE

  • Content Administrator Problem

    I am trying to enter to the Content Administrator and after I put the login data and click in Login button I get the following message: 503   Service Unavailable Dispatcher running, but no server connected! Details: No details available What can be t

  • Ok so i have version 10.4.11 and i wanna have Lion. what do i have to do to get it?

    i would like to have Lion but idk what i have to buy or upgrade to get that since im only at mac os x 10.4.11 someone help!