"if: Expression syntax" when trying to load 64-bit version of cadence

Discussion in 'Cadence' started by DL, Jul 22, 2005.

  1. DL

    DL Guest

    I'm running RedHat Enterprise 4 (64-bit version) and I have downloaded
    and installed IC5141 with the 64-bit version of dfII. Whenever I try to
    run cadence I get an "if: Expression syntax" error and Library Manager
    won't start up. I tried to do LD_ASSUME_KERNEL but doesn't work.

    Any ideas?
     
    DL, Jul 22, 2005
    #1
  2. We have these tree vars set in RHEL 3.0, maybe one of them
    helps, I assume it could be the DD_DONT_DO_OS_LOCKS

    setenv DD_DONT_DO_OS_LOCKS set
    setenv LANG ""
    setenv LD_ASSUME_KERNEL 2.4.1
     
    Bernd Fischer, Jul 22, 2005
    #2
  3. Hi,

    I'm not sure specifically which exe you're trying to run, but it sounds like
    there is a problem with the wrapper script which sets up the path and library
    path. The structure of the scripts/exes is usually a little something like this:

    tools/dfII/bin/<app> - sh wrapper script
    tools/dfII/bin/<app>.exe - exe which decides to run 32-bit or 64-bit exe
    tools/dfII/bin/32bit/<app>.exe - actual 32-bit exe
    tools/dfII/bin/64bit/<app>.exe - actual 64-bit exe

    The error you are describing sounds like it may be relying on an environment
    variable which is not set. It shouldn't fall over if this is the case,
    however... :-(

    Can you please try to run:

    sh -xv `which <app>`

    (Assuming it's an sh wrapper, and they usually are - it should have the shell
    name in the first line of the file if that doesn't work).

    That just turns on verbose and echo mode so you'll get a pretty clear
    indication where the problem is in the script. What to do depends on the
    problem - hopefully it's not a syntax error and you won't need to edit the
    script. It may be that you need to set an environment variable to some dummy,
    non-blank value in order for that part of the script to work.

    I'd be interested to know what the problem is - please let me know if you
    figure it out.

    Regards,
    Graeme.
     
    Graeme Bunyan, Jul 25, 2005
    #3
  4. I certainly have not seen this problem before - I'm guessing that the most
    likely explanation is that "cadence" is being started via some non-Cadence
    wrapper script which has the problem. But I'm prepared to be surprised - but it
    would be useful to know what exactly the command being invoked was, and to do
    the experiment that Graeme suggested.

    Regards,

    Andrew.
     
    Andrew Beckett, Jul 31, 2005
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.