XCode 3.0 not seeing library path

Hi
I'm running XCode and even though I've set my library search paths it refuses to find libraries in /usr/lib, although when I copy these exact files to /opt/local/lib it links against them fine. Library in question is GLEW and the compiler complains it cannot find -lGLEW even though I've added the libGLEW.dylib as a library to link against.
Any help would be appreciated.

Wow. It has been, like, 12 seconds since I last responded to someone who has a mysterious problem with some open-source tool involving fink or macports. Anytime anyone mentions /opt I get very suspicious.
Normally, most open-source tools and libraries are installed in /usr/local. You shouldn't be installing anything into /usr/lib or /opt unless you really know what you are doing and have a good reason. Otherwise, you'll just be stuck and will have to get support from whomever insists on using /opt.
According to the GLEW website:
On Unix, typing make install will attempt to install GLEW into /usr/include/GL and /usr/lib. You
can customize the installation target via the GLEW_DEST environment variable if you do not have
write access to these directories.
So they are mucking around in system libraries, which is a bad idea. That fact alone makes the GLEW project suspect. At a minimum, you should define GLEW_DEST to be /usr/local. Using -IGLEW should work with no futher effort.

Similar Messages

  • Solaris 9 not seeing second path for few LUNs.

    Hi,
    We got 59 LUNs from EMC storage team. We are able to see all 59 LUNs in path. We are seeing 53 LUNs on second path, for 6 LUNs system is not seeing second path.
    With syminq output we are able to see the device on both paths. Both HBAs has same number of entries in /etc/path_to_inst file. We rebooted and ran update_drv command few times still system is not seeing second second path.
    Any idea why we are not seeing second path?
    Here is sd.conf entry. lun 27 is good, lun 86 missing second path
    name="sd" parent="lpfc" target=17 lun=27;
    name="sd" parent="lpfc" target=17 lun=86;
    name="sd" parent="lpfc" target=18 lun=27;
    name="sd" parent="lpfc" target=18 lun=86;Thanks
    SR

    Hi,
    We got 59 LUNs from EMC storage team. We are able to see all 59 LUNs in path. We are seeing 53 LUNs on second path, for 6 LUNs system is not seeing second path.
    With syminq output we are able to see the device on both paths. Both HBAs has same number of entries in /etc/path_to_inst file. We rebooted and ran update_drv command few times still system is not seeing second second path.
    Any idea why we are not seeing second path?
    Here is sd.conf entry. lun 27 is good, lun 86 missing second path
    name="sd" parent="lpfc" target=17 lun=27;
    name="sd" parent="lpfc" target=17 lun=86;
    name="sd" parent="lpfc" target=18 lun=27;
    name="sd" parent="lpfc" target=18 lun=86;Thanks
    SR

  • Moved to new PC from WinXP to Win7, and iTunes does not see library

    My old laptop was running Windows XP. My new laptop is running Windows 7. I installed iTunes and copied my the contents of my "iTunes Music" directory into the "iTunes Media" directory (from "Documents and Settings/<user name>/My Documents/My Music/iTunes/iTunes Music/ into "Users/<user name>/My Music/iTunes/iTunes Media).
    My iTunes Media directory on my old laptop was set to the iTunes Music directory, and my iTunes Media directory on my new laptop is set to the iTunes Media directory. However, iTunes does not see my music on my new laptop.

    My old laptop was running Windows XP. My new laptop is running Windows 7. I installed iTunes and copied my the contents of my "iTunes Music" directory into the "iTunes Media" directory (from "Documents and Settings/<user name>/My Documents/My Music/iTunes/iTunes Music/ into "Users/<user name>/My Music/iTunes/iTunes Media).
    My iTunes Media directory on my old laptop was set to the iTunes Music directory, and my iTunes Media directory on my new laptop is set to the iTunes Media directory. However, iTunes does not see my music on my new laptop.

  • IPhoto 9.4.3 not seeing Library

    Bit of a panic this morning.  Not only awoke to a Time Machine error saying my dedicated backup drive had suddenly become read-only and I needed to back up what I could and reformat the drive (thus losing months of backups), but as I was scowling at the error message iPhoto unexpectedly crashed after I plugged in my iPhone--and since refuses to see my 500gb library which goes all the way back to 2002 and is stored on an external 1TB hard drive. 
    All at once my seemingly foolproof system of having the iPhoto library on one external hard drive and a Time Machine backup of it on a separate external drive was for naught.  Many thousands of pictures and movies were suddenly gone in a scenario too implausible for me to have imagined.
    After almost barfing on my keyboard I trashed the prefs and restarted iPhoto.  Then I restarted the machine about seventeen times.  Then I tried pointing iPhoto to the library by holding down <Option> at startup, then I tried rebuilding the database.  Then I tried iPhoto Library Manager which "scavenged" only about a third of the photos, and with no albums at all.  Plus 153gb of 500gb isn't much consolation, especially at 8:30 in the morning.
    Lastly I simply tried using Finder and copied over the big Masters folder and Previews and Thumbnails and everything else, but no matter what I try when I launch iPhoto it presents me with "To get started with iPhoto..."
    The one relief I have in this is that I have spot-checked the Masters folder and all 500gb of the jpg's and mov's are intact, up to and including the ones I imported the night before.  They're all sitting where they've always been on the external drive.  Since I copied them a replica is sitting on my iMac's hard drive too, but iPhoto will not recognize either library at all. 
    Back to almost barfing on my keyboard, and having spent all Sunday not the way I wanted to spend it I finally turn to the experts.  I need a little help here.
    iPhoto 9.4.3
    default library kept on external 1TB drive
    using new 21.5" iMac on OS 10.8.5
    Also using a Macally BTKey wireless keyboard which is about to be barfed on.

    Starting over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1. Open the library package like this.
    2. Launch iPhoto with the Option key held down and, when asked, select the option to create a new library.
    3. Drag the subfolders of the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from the open iPhoto Library package into the open iPhoto window a few at a time.
    This will create a new library with the same Events (but not necessarily the same Event names) as the original library but will not keep the metadata, albums, books slideshows and other projects.
    Note:  your current library will be left untouched for further attempts at a fix if so desired.
    OT

  • Moving iTunes to new computer, using external HD, not seeing library in iTunes

    Hi all,
    I got a new laptop running Windows 7.  I followed Apple's directions for how to move iTunes to a new computer using an external hard drive. 
    http://support.apple.com/kb/HT4527
    All looks good until Part 5, Step 6 where it says "Open iTunes.  You've now moved all your music, playlists, and other information like play counts and ratings from your old computer to your new one."  Now, I can go into my music folder on the new laptop, click on iTunes, then on the music folder and all my music is there.  But when I open iTunes, none of the music is evident in the library.
    Hoping this is simple user error!  Thanks, all.
    Lisa

    Ideally you should copy the complete iTunes library structure - typically located at C:\Users\username\Music\iTunes - from the old computer to the new one.  It should look like this:
    Assuming that your music and other media files are all contained within the iTunes Media folder and its subfolders you can move this iTunes folder and all its content from your old system to the corresponding location on the new one (i.e., place it in C:\Users\username\Music). If you've already installed and run iTunes on the new system, overwrite the files and folders already created in that location - this assumes that you've not added any content on the new system, i.e., you are just migrating your library from the old system to the new one, not merging different libraries on the two).
    Then, just to be sure you are picking up the right library information, hold down the Shift key while starting iTunes on the new system.  You'll get this prompt:
    Click Choose Library.. then navigate to and select the iTunes Library.itl file within the folders you just copied across.  Click OK - you're complete library - media, artwork, playlists, etc. - should now be available on the new system.
    One further benefit of this approach - because you have replicated the library in full any iDevices will see this as "the same" library as you had on the old system, and sync operations will continue to work without getting a message about your iPod / iPhone being erased.  You should also make sure that you create and maintain a backup of your library (the full folder structure as illustrated above) as a safeguard against any future cause of data loss.

  • Fibre Channel failed not seeing redundant path

    Hi I recently started noticing the following issue in my messages file
    Mar 17 16:23:00 pine genunix: [ID 408114 kern.info] /scsi_vhci/ssd@g290000602200
    443c6257455730303138 (ssd12) online
    Mar 17 16:23:00 pine scsi: [ID 243001 kern.warning] WARNING: /pci@bd,600000/SUNW
    ,qlc@1/fp@0,0 (fcp1):
    Mar 17 16:23:00 pine Failed to create nodes for pwwn=2b00006022004433; error=5
    Mar 17 16:23:00 pine luxadm[88]: [ID 434025 user.error] ID[luxadm.create_fabric_device.2316] configuration failed for line (/devices/pci@bd,600000/SUNW,qlc@1/fp@0,0:fc::2b00006022004433) in file: /etc/cfg/fp/fabric_WWN_map. I/O error
    I notice that my Port B is now missing when I do luxadm display seems I only have 1 path to my SAN I would like some assitances on how to debug this problem ?? I'm not sure if its software or hardware related this system is attached to a T3+ 6960 using mpxio
    -RB

    It would be worth doing a physical check of the 69x0 VE engines and server side switches diagnostic LEDs.
    You should also check StorADE and/or /var/adm/messages on the MSP for failure messages.
    Cabling should be checked if these check out ok.
    Check the output of cfgadm -al and make sure you have at least 2 fc-fabric controllers.
    You can then run 'luxadm -e dump_map /dev/cfg/c<num>' to see if you can actually see the storage devices.
    For a 69x0 you should see two active paths under luxadm display.
    --A.

  • Yosemite bug? Itunes Home sharing does not see library on additional drive

    I have a 2011 iMac 27" with two internal drives, an 256GB SSD main drive and a 3TB hard drive (/Volumes/Media). My iTunes library is held on the 3TB drive for space reasons, and the correct path to the library is in Preferences > Advanced. I have enabled Home Sharing, and have made sure that the sharing tab is correctly set to allow all content to be visible.
    On my 2010 Macbook Pro, I can connect to the iMac iTunes through Home Sharing (there is an entry in the drop down list at top left), but I can see no content at all.
    If I change the path to back to the default library in Preferences on the SSD drive (i.e. /Users/david/Music/iTunes/iTunes Media) rather than the real library (/Volumes/Media/Itunes/Itunes Media) and import a song, then that song immediately becomes visible on the Macbook Pro.
    Therefore, the actual mechanism for streaming the content seems to be working, but it only seems to work if the library is on the default disk.
    Is this

    Hello keepitup67,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Troubleshooting Home Sharing
    http://support.apple.com/kb/ts2972
    Best of luck,
    Mario

  • I do not see Library or Albums when creating books?

    I want to be able to choose my photos from Library or albums while craeting a book in iPhoto 06, please tell me how I can see me photos while creating a book.
    Thank you,
    Sebastian

    Hi SebastianMacLuver,
    The easiest way to create a book is to make an album containing all the images you think you might want to include in the book. Then select the album to create the book from. If you decide you want more photos from your library, select them in the library and drag them to the book icon in the source column. The new images will appear in the strip at the top of your book viewing window.

  • ITunes not seeing library files

    I finally got a new computer, and so finally transferred my iTunes data from my work laptop to my new computer.
    The songs appear to have made it ok, but the data files did not, meaning I've lost all my play counts, ratings and playlists (of which the first two are the most important).
    Since I'm on dialup, I did have to go back to the CD version of iTunes I had (6.0.4) instead of 6.0.5 that was on the laptop - is this the issue?
    Is there any way to get this to work?
    (I still have the data on the laptop, and on my backup external drive. Whew.)

    ... I did have to go back to the CD version of iTunes I had (6.0.4) instead of 6.0.5 that was on the laptop - is this the issue?
    No, that shouldn't be the issue.
    It sounds like your iTunes Library Files didn't get transferred over.
    So assuming they were in their default location on your work computer ( C:\Documents and Settings\User Name\My Documents\My Music\iTunes ) you want to move them to that same location on your new computer. Note that this will only work if your music files themselves were/are in the same location on both computers.

  • Task not found at path: /Developer/usr/bin/gdb

    My xcode works fine but debugging does not and this is the error i get whenever the debugger starts in xcode.
    Task not found at path: /Developer/usr/bin/gdb
    Looking in that path gdb is truly missing. find /Developer/ -name "gdb*" -type f -print comes up with;
    /Developer//usr/libexec/gdb/gdb-i386-apple-darwin
    /Developer//usr/libexec/gdb/gdb-powerpc-apple-darwin
    ..so ln -s /Developer/usr/libexec/gdb/gdb-i386-apple-darwin /Developer/usr/bin/gdb makes the debugger work again.
    I couldn't find this exact error on google and i tried searching this forum here on discussions too.
    I would like to know why this happened, i'm suspecting the upgrade to snow leopard, and if my solution is correct or if it might break something in the future?
    I did reinstall xcode after i upgraded to snow leopard, with the latest xcode version at the time of the upgrade, for what it's worth.

    Moved Thread:
    http://discussions.apple.com/thread.jspa?threadID=2478061&tstart=0

  • ITunes not seeing the library on a shared drive

    Greetings,
    I recently upgraded to iTunes 11. I upgraded the application on 3 computers. All computers (2 running Snow Leopard and one running Lion) have been authorized for iTunes and access a networked library. The upgrade was successful and and all computers "see" the correct shared library.
    My problem is with the unit running Lion. That computer has 2 users, myself and my wife. I generally do not use the computer, but I set up all the computers in the home, so I automatically create an account for myself. Early on I created and configured my wife's account to use iTunes.
    Recently, (after upgrading) I decided to configure iTunes for my account on that computer. (My regular computer is older and I need to start using the iPhoto application on her computer, mine has run out of space.) When I tried to run the new iTunes, my account would not "see" the iTunes library.
    Do I need to authorize (to use iTunes) this account, even though my wife's account on this machine was authorized awhile ago?
    Why would my account library be different from her account library (I have confirmed that the library file path is the same.)
    Ultimately I want to be able to use my wife's (newer) computer to sync our (3) iPads. Right now, under my account I am unable to do that.
    Any suggestions?
    Tim Kern

    sceptomaniac wrote:
    I have put the library on an external drive connected by usb to my wireless router.
    what exactly have you put on the external ? the entire iTunes folder or just the iTunes music (or media) folder ?
    On my iMac I can select the itunes folder on the drive in itunes advanced preferences and my music shows up in the itunes window an I can play it. But on my MacbookPro although I can select the folder, nothing shows up in the itunes window.
    this leads me to believe that you consolidated the iMac's library to the external but kept the library files local. pointing iTunes media folder location to a new spot tells iTunes where to put new additions to your library, but not where the current content is.
    what you need to do is to copy the entire iTunes folder to the external, then (on each Mac) launch iTunes while holding the option(⌥) key, click on choose library when prompted, and select the iTunes folder you copied to the external.
    note only one Mac at a time can access the library !

  • Loading jperflib failed. jperflib (Not found in java.library.path)

    Please:
    We are working with SAP Netweaver EHP1 7.0, Red Hat Enterprise Linux 5, Oracle 10g,
    SAP Application Server JAVA/Oracle, Central System
    Java versión installed IBMJava2-amd64-142
    java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20100916a (JIT enabled)
    J9VM - 20100914_64612_LHdSMr
    JIT  - 20090210_1447ifx2_r8
    GC   - 200902_24)
    step 23 de 37: Configure UME:
    Message error:
    INFO 2010-11-19 20:04:41.532
    Output of /opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/
    CENTRAL/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.s
    ap.engine.configtool.batch.BatchConfig /usr/sap/BJD/SYS/global/security/lib/tools/iaik_jce.ja
    r:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/BJD/SYS/global/security/l
    ib/tools/iaik_smime.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/BJD/
    SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/ins
    tall/lib:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/install/sharedlib:/oracle/client/10x_
    64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/BatchConfig.xml i
    s written to the logfile batchconfig.log.
    WARNING 2010-11-19 20:04:43.908
    Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/NW
    701/AS-JAVA/ORA/CENTRAL/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.Offlin
    eToolStart com.sap.engine.configtool.batch.BatchConfig /usr/sap/BJD/SYS/global/security/lib/t
    ools/iaik_jce.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/BJD/SYS/g
    lobal/security/lib/tools/iaik_smime.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_ssl.j
    ar:/usr/sap/BJD/SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW701/AS-JAVA
    /ORA/CENTRAL/install/lib:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/install/sharedlib:/or
    acle/client/10x_64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/B
    atchConfig.xml" finished with return code 183. Output:
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.pat
    h).
    hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration.
    WARNING[E] 2010-11-19 20:04:43.909
    CJS-30059  Java EE Engine configuration error. DIAGNOSIS: See output of log file batchconfig.
    log: '
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.pat
    h)
    .hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration. '.
    ERROR 2010-11-19 20:04:44.7
    FCO-00011  The step runBatchconfig with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_S
    ystem|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|i
    nd|ind|ind|ind|5|0|runBatchconfig was executed with status ERROR
    Thanks for your comments nad suggestion

    good afternoon:
    the error loading jperflib failed. jperflib (Not found in java.library.path) is fixed,
    Solution:  LD_LIBRARY_PATH=/sapmnt/SID/exe
    but other error appear
    /usr/sap/BJD/JC01/j2ee/admin/adminCFG.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/admin/cfg/adminCFG.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/deploying/dplOptions.options doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/configtool/config.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/deploying/rdb.properties doesn't exist and will be created by batchconfig.
    .hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration.
    com.sap.engine.frame.core.configuration.NameNotFoundException: A property with the name "java.parameters" cannot be found in the  PropertySheet "cluster_data/server/cfg/element-info.ID139743".
            at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.<init>(PropertyEntryImpl.java:85)
            at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.readPropertyEntry(PropertyEntryImpl.java:54)
            at com.sap.engine.core.configuration.impl.addons.PropertySheetImpl.getPropertyEntry(PropertySheetImpl.java:127)
            at com.sap.engine.configtool.batch.task.ElementInfoTask.setElementInfoProperties(ElementInfoTask.java:243)
            at com.sap.engine.configtool.batch.task.ElementInfoTask.go(ElementInfoTask.java:184)
            at com.sap.engine.configtool.batch.BatchConfig.go(BatchConfig.java:60)
            at com.sap.engine.configtool.batch.BatchConfig.main(BatchConfig.java:98)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

  • Can not See All of my Music Library on the play list

    I accidently moved my music library (My documents/My music/my itunes...)
    When I moved it back, iTunes does not see all the song (over 2000). It only see the purchased music. I can use the Add to Library function (In the File menu) and add each song, song by song and I have added a few dozen songs back to the play list. So all the music is there, in the directory, Just can not get iTunes to recogize them.
    ANY suggestions to adding the whole library back at once.
    Thanks
    Dell 4400   Windows XP  

    Do you at least have the little ! (exclamation point) next to the "missing" songs?
    I just had the same thing happen to me, but mine occurred simply by upgrading to the latest version of iTunes... in the process it "lost" about half of my music.
    I simply unchecked "Keep iTunes Music folder organized" under prefrences/advanced tab.. hit "OK", then went back in and re-checked it, hit OK and iTunes began "organizing" my library and miraculously iTunes found all of the missing music.
    There are some decent articles about moving your iTunes library on the support site. They don't always work as advertised, but you're pretty much stuck with My Documents/My Music/iTunes on Windows.
    You may be able to reverse things by following those instructions as well.

  • How do I delete photo ALBUMS from my iPHONE 4? I sync via icloud and I can not see any folders selected in itunes. I searched the internet and basically there is no one who has the answer to how you delete the iphone photo library and misc albums

    how do I delete photo ALBUMS from my iPHONE 4?
    I sync via icloud and I can not see any folders selected in itunes.
    I searched the internet and basically there is no one who has the answer (so far)
    to how you delete the iphone photo library and misc albums
    I have also had every iphone and I am not stupid.
    charles altman

    Replying to my own post - heh. I downloaded iExplorer (http://www.macroplant.com/iexplorer/) which allowed me access to the files on the phone and there was the phantom movie in the DCIM folder. Deleted it, and all is well - although I still have 0.65gb of Other in iTunes.....

  • GB won't open- This is what I get... Path does not exist: /Library/Audio/Apple Loops Index  st: /Library/Audio/Apple Loops Index w/out this directory you cannot use the Loop Browser

    Path does not exist: /Library/Audio/Apple Loops Index  st: /Library/Audio/Apple Loops Index w/out this directory you cannot use the Loop Browser.  Then I get this message...
    Instrument Library Invalid
    GarageBand Ecpects a valid instrument foledr in /Libraty/Application Support/GarageBand
    Please choose a valid instrument Library folder or quit and re-install GB
    Any solutions?

    Is this a new installation of GarageBand or has it worked before on the same computer?
    Or have you transferrred your GarageBand from a different computer?
    The error message is saying, that your GarageBand installation is incomplete. There are essential foldrs missing in your system library. 
    Check, if indeed both folders are missing or if only the permissions are set incorrectly.
    Your system library (the folder "System" directly on your system drive) should have the following folders inside the folder "Audio", and they need to be readable by the system and by administrators.
    And in the folder /Library/Application Support there should be the Instrument Library.
    If these folders do not exist (or no longer exist), restore them from your backup-  If your GarageBand version is a new installation, the application may not hve been downloaded or installed completely, then reinstall GarageBand.
    What is your GarageBAnd version, and how did you install it originally?
    Regards
    Léonie

Maybe you are looking for