Mac/Unix path differences causing linking problems?

At our organization, we have a single monster Xserve running Mac OS X 10.6.7 and Aqua Connect where up to 15 users log in concurrently with different UI sessions and work on pages using InDesign CS3 and CS5.
Each user mounts the same AFP sharepoints ("PageShare" for .indd files, and "ImageShare" for page resources) at the same time and they work on neighboring files.
Things have been (mostly) peachy for a year now.
Recently, we've been running into trouble linking images on pages.
The first user who connects has absolutely no trouble. But every subsequent user is unable to automatically link resources on pages.
Curiously, when we attempt to relink a resource, its path as shown in InDesign's Links pallete doesn't change. What was originally reported as a broken link is now considered legitimate.
We're fairly certain this is caused by a mixup between the Mac OS file path (ImageShare:Logos:logo.eps) vs. the UNIX file path (/Volumes/ImageShare/Logos/logo.eps). When multiple instances of a sharepoint are mounted at the same time, a "-#" is appended to the share's UNIX path. In this example case, /Volumes/ImageShare-1, /Volumes/ImageShare-2, etc.
But, the Mac OS file path does not change, even if multiple instances are mounted at the same time — the other users' shares are ignored. The share you have access to is always referenced by the system as "ImageShare".
So, there's a real miscommunication in InDesign between what style path to use and what path is actually displayed. Mucking around in a hex editor, it seems that InDesign includes both Mac OS and UNIX file paths in .indd files, but the Links pallete only displays Mac OS paths...
Is there a way to get InDesign to exclusively follow Mac OS paths which won't change from mount to mount, or is there a way to be more resilient in resolving link changes when the UNIX path has an appended number?
From all I've read and studied, it seems that the workflow we've been using and enjoying for the better part of a year (up to last Wednesday) is somehow impossible. I'm pretty sure it existed though...and I'd like to have it back.
Any thoughts you have would be appreciated.

The Aqua Connect server is a small, yet important, part of our production (so yes, we're properly licensed).
Generally, pages worked on through our multiple-use server are then passed to others to work on. These other users operate individual workstations. A requirement of this workflow is that the Aqua Connect server use the same paths and links as our other users do. Our non-remote users are happily linking away without this issue, as is the initially-connected remote user.
The server was rebooted on Wednesday as we end up doing about once a week. No other changes were made (as far as I can tell, of course).
I've found that no matter what user mounts an AFP/SMB volume (even root), other users cannot access its contents. The Computer window in Finder shows each mounted instance of each sharepoint, but only one of each share for each user can actually be opened by that user. This has been the case since at least Leopard (if not earlier).

Similar Messages

  • Difference of links path between Mac and Windows

    We currently use an InDesign Server solution on Mac to generate our PDF. InDesign files are created on Mac and our InDesign server points to volumes where are stored links. On Mac, the path looks like this:
    VOLUME:FOLDER_1:SUBFOLDER_1:SUBFOLDER_2:LINK_NAME.
    We consider to migrate our InDesign server onto Windows. So I began some tests on a client version and the same InDesign file opened on Windows and whose links are stored in the same place opens with missing links as the path on Windows looks like this: volume_name\volume\FOLDER_1\SUBFOLDER_1\SUBFOLDER_2\LINK_NAME
    So I have to relink manually, which is impossible in our workflow.
    Does anyone know if we may encounter the same problem with a server version? If yes, do you know a script that automatically relink image files when InDesign files will be opened by InDesign Server?

    I don't personally have much experience relinking across platforms. (We use Windows servers although I use Mac locally.) But, here's what info I can provide:
    File paths in InDesign can be specified in 2 ways. One is platform-specific paths, and the second is URI notation. The URI notation is the same cross-platform, but even so, I imagine the volume names are different as well. Specifying the URIs in an InDesign file would prove to be challenging as well, although you can easily specify it in an IDML file.
    Another avenue to explore would be to specify relative paths. By default InDesign writes absolute paths, but relative paths are supported. If I'm not mistaken, that's what the InDesign package functionality does.
    Your best bet will probably be to run a script when the document loads on the machine for the first time and loop through all the links and change the paths to the correct location.
    HTH,
    Harbs

  • Link problem between PCs and Macs

    Hello.  We have 3 Macs running OSX 10.5.x and Adobe Std CS5, and they share their Illustrator creations, images, etc., on a NAS file server.  Recently, I downloaded the CS5.5. trial version for a PC running Windows XP Pro and on the same network with same file access and security.  All machines use CIFS to access files.
    PC user will create an Illustrator file in one of these shared folders on the NAS and link in images from another shared folder on the NAS and save it.  When a Mac user opens the Illustrator file, however, none of the links are valid so the Mac user has to re-link those images and re-save the file.  What change(s) do I need to make on the PC-side to stop this problem?  Does the PC need to be on CS5, too?

    Thanks to both of you for your help.  We found out that the PC and Mac show the absolute path slightly differently when connecting to our NAS. However, if we create an ai file with linked images on the PC, save it, and then open it in the Mac, even though the links are off we can fix all of them if we simply re-link one image and then "Ignore" the rest of the pop-up error messages.  There are less (or no) link issues if the images are in the same folder as the ai file, but that kind of defeats the advantage of linking over embedding.  We need to have one central images folder since the same image can be used many times over.  Is there any way to force Illustrator to use relative paths instead of absolut paths?  For example,  if I have a share name "Sales" and three folder within:  "Images", "ABC company" and "DEF company", can the ai files I create in ABC company contain links like, "..\Images\image01.eps" instead of something like \\NAS2\Sales\Images\image01.eps?   Would be nice if Adobe Illustrator had a preference setting of something like "Default location of ai files" where I can set it to, \\NAS2\Sales\, and then any documents I create would use that setting as a link starting point.

  • I cannot control the sensor on my Mac, it moves by itself, and opens different pages. What can cause this problem? please help me.

    I cannot control the sensor on my Mac, it moves by itself, and opens different pages. What can cause this problem? please help me.

    There are several possible causes for this issue. Take each of the following steps until it's resolved.
    1. Follow the instructions in this support article.
    2. Reset the System Management Controller.
    3. If you're using a Bluetooth trackpad, investigate potential sources of interference, including USB 3 devices.
    4. A swollen battery in a MacBook Pro or Air can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced.
    5. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built in trackpad of a MacBook to  behave erratically. If you're using such an adapter, disconnect it and test.
    6. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
    7. If none of the above applies, or if you have good reason to think your computer is being controlled remotely, remove it from the network by turning off Wi-Fi, disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop immediately, you should suspect an intrusion.

  • Don't know if this went through the first time. Cannon printer would not print black. bought a new Epson-800. Same problem. Can it be something in my Mac causing the problem. It's only the black that is not working.

    Don't know if this went through the first time. Cannon printer would not print black. bought a new Epson-800. Same problem. Can it be something in my Mac causing the problem. It's only the black that is not working.

    Bill ...
    Believe it or not, might be a font issue > Computer won't print black text in...: Apple Support Communities

  • I have been using iCloud since it came out to coordinate my schedules from my phone, ipad and Mac laptop.  Last week they stopped synching...I can't upgrade b/c of memory. Could this cause the problem?

    I have been using iCloud since it came out to coordinate my schedules from my phone, ipad and Mac laptop.  Last week they stopped synching...I can't upgrade past OS 5.1.1. b/c of memory (1st generation iPad and iPhone 4s). Could this cause the problem after the release of the new OS?

    Welcome to the Apple Community.
    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.

  • HT2500 Hi, I have a problem with my mac mail account. Its linked with my website and i've just transferred my domain and host plan to 123-reg.co.uk Now for some reason emails disappear from my inbox! Emails come in and then my inbox is empty.. Help!

    Hi, I have a problem with my mac mail account. Its linked with my website and i've just transferred my domain and host plan to 123-reg.co.uk Now for some reason emails disappear from my inbox! Emails come in and then my inbox is empty.. Help!

    Lord K.  Thank you. Yes I am within the 90 time period, however I travel Intertionally and I can not receive not make a call to Apple. I was just at the Genius Bar in Chicago and they said, don't worry about it.  It just floats out there, however, I can not recover my messages on a flash drive. I need to go back to my old computer which I don't have with me.  My messages were in folders for a lawsuit.  It is going to take an incredible amount of work for me to, you have no Idea.  We are talking thousands of pages!  I the defendent will have them during discovery so I am not so worried.  However, I can not bring them to him on a Flashdrive when I meet with him without an extraordinary amount of presssure on my part.  THis is not just some little email issue. This is suing EXPEDIA and Tripadviosr.com

  • Image Link Problems in Illustrator CS3

    Am running on Mac OS 10.4.11. Mac is a Dual 2GHz PowerPC G5. File server is an IBM x3650, running FullPress Software and Xinet and Flashnet.
    When saving files in Illustrator CS3 with preserved image links to hi-res images on the server, other users who later open that ai file, have to manually relink to images on the server. If the file is opened on the Mac that created it, images link automatically when opened again. The problem is that other Macs do not see the links/paths to the images.
    It is frustrating and time-consuming. The problem seems to be isolated to just 2 specific Macs. One with the spec as above, and the other is a 2x2.66GHz Dual-Core Intel Xeon, running on the same Mac OS.
    All software installs are same on all macs in my studio.
    The overall problem is : 17 Macs. 15 of these can open files created on each others Macs without issue. However, if files were created on the 2 "problem Macs", link issues arise. The 2 problem Macs have link issues with ANY other mac when opening files saved on any other Mac.
    Sorry for long winded nature of this, but can anyone help? Have tried all sorts and have run out of ideas on this. URGENT help needed! Thanks.

    Thanks Ian and Jim.
    Have solved the mystery.
    Opened files in Text edit, and the links defined section, did show ghosted volumes on problem macs.
    So, went to desktop > From the Go menu, select Go to Folder >then entered "/volumes"
    This brought up the volumes and highlighted some anomalies. Folders appearing with same name as my server, meaning when the server mounted it added a suffix of -1, -2 etc.
    MANY THANKS Gentleman.
    Tim.

  • New desktop has wrong path for page links in nav bar

    I created a new desktop and have the following problem. The image links to portal
    pages in the horizontal nav bar in the top have wrong path.
    Example.
    In the original portal the home page link in the nav bar has a image associated
    with it in workshop.
    \framework\skin\classic\images\home.gif
    The partial url generated for the image looks liek this:
    \mywebapp\\framework\skin\classic\images\home.gif.
    I created a new desktop everything works fine except for the images. The href's
    are created for the links but the image path is wrong.
    the url generated is : \mywebapp\appmanager\framework\skin\classic\images\home.gif
    The "appmanager" in the path causes the problem.
    Is this a bug?

    Hi Subbu,
    I used workshop page properties to associate the image to the page.
    framework/skins/classic/images/home.gif
    - Shankar
    Subbu Allamaraju <[email protected]> wrote:
    Shankar,
    Did you use any tag to create the img tag? Do you have any sample
    HTML/JSP snippet?
    Subbu
    Shankar Bala wrote:
    I created a new desktop and have the following problem. The imagelinks to portal
    pages in the horizontal nav bar in the top have wrong path.
    Example.
    In the original portal the home page link in the nav bar has a imageassociated
    with it in workshop.
    \framework\skin\classic\images\home.gif
    The partial url generated for the image looks liek this:
    \mywebapp\\framework\skin\classic\images\home.gif.
    I created a new desktop everything works fine except for the images.The href's
    are created for the links but the image path is wrong.
    the url generated is : \mywebapp\appmanager\framework\skin\classic\images\home.gif
    The "appmanager" in the path causes the problem.
    Is this a bug?

  • [svn] 2142: swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.

    Revision: 2142
    Author: [email protected]
    Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
    Log Message:
    swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
    * By "somehow" I mean it was my injection :)
    * Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
    * Replaced it with 'new Integer(int)'
    Reviewer: Matt, community folks
    Bugs: n/a
    QA: no
    Doc: no
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Revision: 2142
    Author: [email protected]
    Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
    Log Message:
    swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
    * By "somehow" I mean it was my injection :)
    * Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
    * Replaced it with 'new Integer(int)'
    Reviewer: Matt, community folks
    Bugs: n/a
    QA: no
    Doc: no
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

  • Re: Fwd: Link Problems With Borland C++ 4.52

    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystal problem.
    Many Windows based applications rely on PASCAL calling conventions, which
    change the way parameters are handled in function/method calls. They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms for changing
    the calling conventions of the prototypes in the generated C++ wrapper
    library, so when you compile that code, the linker fails. I think that the
    compiler may generate different symbols depending on calling conventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate the distribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI to the appropriate
    places in the prototype definitions (see above) and use fcompile to build
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    >
    We are trying to wrapper Crystal Reports from Forte. I know that there
    are a number of other people in this same boat, as I've seen messages
    posted here at various points during the past few weeks. We are having
    a particular problem with getting the compile to go through, which we
    have sent in to Forte Tech Support. I'm forwarding the message I sent
    Tech Support to this group in the hopes that someone here may have
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    >
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / Alaiah Chandrashekar]
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to Crystal
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after a day
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message for each
    of the functions we are trying to wrapper. We have tried a number of
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someone call
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092

    James,
    Thanks for your quick response. Yesterday we had been running down
    the path of examining the calling conventions and trying to change them
    to PASCAL, but without much success. After receiving your note, we
    went back over it again, and this time we were able to finally to piece it
    together. In addition to editing the Forte-generated .cc file to declare
    the functions as PASCAL, we also had to turn off the compiler's case
    sensitivity. (The Crystal .lib file had the function names in mixed case,
    but the Borland compiler was generating all uppercase for the names.)
    Now I had actually tried this yesterday and it didn't work (in fact it
    generated a whole bunch of new errors) - because until we took a
    second look at it today, I didn't realize that Borland's linker actually has
    TWO flags that control case sensitivity. If you only turn one or the
    other off, things can get pretty ugly looking. As soon as we turned
    both of them off, the compile and link went beautifully. Again, thanks
    for your help; hopefully we are over the worst of it now!
    Dale
    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystalproblem.
    >
    Many Windows based applications rely on PASCAL callingconventions, which
    change the way parameters are handled in function/method calls.They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms forchanging
    the calling conventions of the prototypes in the generated C++wrapper
    library, so when you compile that code, the linker fails. I think thatthe
    compiler may generate different symbols depending on callingconventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate thedistribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI tothe appropriate
    places in the prototype definitions (see above) and use fcompile tobuild
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    We are trying to wrapper Crystal Reports from Forte. I know that
    there
    are a number of other people in this same boat, as I've seenmessages
    posted here at various points during the past few weeks. We arehaving
    a particular problem with getting the compile to go through, whichwe
    have sent in to Forte Tech Support. I'm forwarding the message Isent
    Tech Support to this group in the hopes that someone here mayhave
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc.
    [email protected]
    >
    >>
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / AlaiahChandrashekar
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to
    Crystal
    >>
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after aday
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message foreach
    of the functions we are trying to wrapper. We have tried a numberof
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someonecall
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092-----------------------------------------------------------------------------------
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    [email protected]------------------

  • Can MDAC installation cause navigation problems within the portal?

    Hello,
    I have a client who having problems loading page links in our second level navigation.  Evertime time she clicks on node to expand the tree of links, she gets a "loading" message.  I see this all the time but this message doesn't go away. She also gets a javascript error on the page stating it cannot find the specify module.  She notice the problem around the time of her MDAC file installation.  Do anyone know if this can cause a problem for navigation on the portal?
    Thank you,
    Francis

    You made this bed by over complicating your site. Simple solution, take your pages out of sub-folders.  Nobody but you cares about the .html extensions. IMO, it's a very poor reason for using sub-folders.
    About linking & navigation:
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7c44a.h tml
    Presently, you must be using document relative link paths.  Either switch to Site Root Relative links which will likely work on your remote server but fail to test locally.  Or use absolute URLs (http://).  The downside with this is that DW won't be able to manage links for you.
    Nancy O.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: /lib (MAC/Unix)

    Ok....newbie to JNI here. I know there are quite a few posts like this here..but everyone seems to be on XP/Vista, nothing for MAC/Unix
    This is my problem:
    I have just created a small bit of code to test the JNI and it fails rather miserably with an unhelpful UnsatisfiedLinkError message. So onto the code and my observations:
    This is my HelloJNI.java
    class HelloJNI {
        private native static void print();
        public static void main(String[] args) {
         print();
        static {System.out.println ( System.getProperty( "java.library.path" ) );System.loadLibrary("HelloJNI");System.out.println("Done");}
    }Compiled successfully to HelloJNI.class
    This is my HelloJNI.h header file as generated by javah -jni HelloJNI
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class HelloJNI */
    #ifndef _Included_HelloJNI
    #define _Included_HelloJNI
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     HelloJNI
    * Method:    print
    * Signature: ()V
    JNIEXPORT void JNICALL Java_HelloJNI_print
      (JNIEnv *, jclass);
    #ifdef __cplusplus
    #endif
    #endifHere is the HelloJNI.cpp file:
    #include "HelloJNI.h"
    #include <iostream>
    using namespace std;
    JNIEXPORT void JNICALL Java_HelloJNI_print (JNIEnv *, jclass) {
      cout<<"Aye hello from JNI";
    }Now I have gone about this several ways....but in general the correct way to go about compiling this seems to have been to generate a .o file and then generate a file named libHelloJNI.jnilib. For all you doubters out there, this is the CORRECT name of the file, MAC OSX expects a library with the lib prefix and the .jnilib suffix. I can prove this to you in a second...but even the official technical notes I have come across on the web have told me that I need this special name on OSX in order for java to find my library. But this command works successfully:
    g++ -O3 -DNDEBUG -feliminate-unused-debug-symbols -fPIC -dynamiclib -o libHelloJNI.jnilib -I\/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers HelloJNI.cpp
    When I next run "java HelloJNI" I get this:
    .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/javaException in thread "main" java.lang.UnsatisfiedLinkError: /libHelloJNI.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at HelloJNI.<clinit>(HelloJNI.java:6)HOWEVER this does NOT mean it hasn't found the file...because if I delete the libHelloJNI.jnilib from the root directory and run "java HelloJNI" I get this:
    .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/javaException in thread "main" java.lang.UnsatisfiedLinkError: no HelloJNI in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at HelloJNI.<clinit>(HelloJNI.java:6)So, this is kinda proof that my library file needs to be called libHelloJNI.jnilib, as the error message seems to change when it is present. FYI yes I am running this from the root of my drive, and I also have a file called libHelloJNI.so in the same directory, which java could seem to care less about.
    Any help would be great, this is a very frustrating problem.
    EDIT:
    Quickly some information I forgot to include:
    OS: 10.5.4 OSX
    JAVA: java -version produces: java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)g++ ---version:
    i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
    Copyright (C) 2005 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.Processor: 2.1 GHz Intel Core 2 Duo
    Type of Computer: 3rd or 4th generation macbook
    Edited by: LordDelta on Sep 20, 2008 10:44 AM

    LordDelta wrote:
    Ok....newbie to JNI here. I know there are quite a few posts like this here..but everyone seems to be on XP/Vista, nothing for MAC/Unix
    Keep in mind that they are not using the same VM either. Nor is the VM from the same vendor.
    So the rules for what is required exactly will be different.
    loadLibrary() is intended to provide a generic mechanism to load a "shared library" across different platforms.
    The exact naming of the shared libraries is expected to be different.
    It might help, if you can't find other sources, to skip JNI and investigate how to create shared libraries
    which are accessible via C/C++ code. The rules that define that will be the same as those
    used by the VM. Once you understand those rules understanding what your VM needs
    will be easier.

  • Why does my mac keep freezing when i link to sites with videos

    why does my mac keep freezing when i link to sites with videos

    Do you have any better luck with that if you update to iTunes 10.6.1.7?
    From the notes for the release:
    iTunes 10.6.1 provides a number of improvements, including:
    • Fixes several issues that may cause iTunes to unexpectedly quit while playing videos, changing artwork size in Grid view and syncing photos to devices.
    • Addresses an issue where some iTunes interface elements are incorrectly described by VoiceOver and WindowEyes.
    • Fixes a problem where iTunes may become unresponsive while syncing iPod nano or iPod shuffle.
    • Resolves an ordering problem while browsing TV episodes in your iTunes library on Apple TV.
    http://www.apple.com/itunes/download/

  • When i click on a link on a website it opens a new non working white page on (MAC) when i know the link works

    when i click on a link on a website it opens a new non working white page on (MAC) when i know the link works

    It sounds like your computer may be infected with some sort of a virus / Malware.
    I suggest the following resources:
    [[Is my Firefox problem a result of malware |Is my Firefox problem a Result of Malware]] is a Mozilla Support article with some good tips on avoiding and fighting malware.
    To double check your system is clean, do the following (Not official Mozilla advice, just good practice from personal experience)
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]
    Download and Run TDSSKiller [http://support.kaspersky.com/faq/?qid=208283363 http://support.kaspersky.com/faq/?qid=208283363]
    Download and Install Microsoft Security Essentials [http://windows.microsoft.com/en-US/windows/products/security-essentials http://windows.microsoft.com/en-US/windows/products/security-essentials] (not an official endorsement, but I personally recommend MSE as an awesome permanent anti-virus)
    Double check for all Windows Updates.
    Also, I noticed you have the coupon printer installed. I would go to Start, Control Panel, then programs and features and uninstall the coupon Printer from inside there. It can cause some problems with Firefox.
    If you are still having problems with Malware after that, I would recommend either [http://www.bleepingcomputer.com/virus-removal/ http://www.bleepingcomputer.com/virus-removal/], or having your computer cleaned by a professional.

Maybe you are looking for

  • Ctrl alt F1 problem in X

    Has anything changed recently that would prevent switching to virtual consoles with ctrl alt F1? It has suddenly stopped working for me.  The xorg.conf file (below) hasn't been changed in over a month.  Have kept up to date with pacman -Syu.  Only ot

  • How to integrate media player in j2me polish

    Hi, I have create a media player in j2me. Now I want to integrate media player code into j2me polish project. I tried to integrate the media player with j2me polish project and audio file is playing fine. but while playing video I am not getting the

  • Validation of the file type being uploaded

    Hi, My requirement is to put a validation on the Primary File metadata field so that it allows only certain type of file types. Example the primary file should allow only .doc and .pdf and restrict .jpeg/.tiff files Can any one suggest how this can b

  • View and Edit events problem

    Hello my friends, today i have added to iphoto08 (7.0.2) 2 pictures, then i have tried to edit the Event.. and. WOA! i can't do.. 1) so i have rebooted iphoto , and there was the same problem. 2) i have created a new library and launched iphoto (with

  • Compaq presario cq56 fan stop working

    compaq presario cq56 stop working though the system is still working fine to some extentd