Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

IC5141 configuration file for bash!

Status
Not open for further replies.

speedman

Newbie level 6
Joined
May 24, 2008
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,396
cadence bash

Hi all,

as you can see I've a problem to configure my bashrc to start icfb under linux.

I've read various posts and spent 7 days but at the end it's not work, probably due to my poor familiarity with linux.

This is the situation :

I've installed IC5141 on Ubuntu, modifying SETUP.SH script to solve the problem old tar version.
At the end I wrote new lines for my .bashrc that I take from other posts.

#####################################################
alias schematic='/home/albert/Cadence/tools/bin/lmgrd -c /home/albert/Cadence/share/license/license.dat'

export CDS=/home/albert/Cadence
export CDS_INSTALL_DIR=$CDS/tools/dfII
#export LD_LIBRARY_PATH=/usr/openwin/lib:/usr/dt/:/usr/dt/lib:$CDS/tools/lib:$CDS/tools/verilog/lib:/usr/X11/lib:/usr/lib:/usr/X11R5/lib:$CDS/tools/leapfrog/lib
#export SHLIB_PATH=/usr/lib:/lib:/usr/lib/X11:$CDS/tools/lib:$CDS/tools/verilog/lib:$CDS/tools/leapfrog/lib
export CDS_LIC_FILE=$CDS/share/license/license.dat
export CDS_Netlisting_Mode=Analog
export PATH=$CDS/tools/bin:$CDS/tools/dfII/bin:$CDS/tools/leapfrog/bin:$CDS/tools/dracula/bin:$CDS/tools/dsm/bin:$CDS/tools/specctra/bin:$CDS/tools/pcb/bin:$PATH
export CLS_CDSD_COMPATIBILITY_LOCKING=NO
export DD_DONT_DO_OS_LOCKS=SET
#export LD_ASSUME_KERNEL=2.4.1

##########################################
I've comment 3 lines that cause me come problems.
For LD_LIBRARY_PATH : No openwin or dt on my linux system. And, of course, is present X11, but a new version.
For SHLIB_PATH : Same as LD_LIBRARY_PATH.
For LD_ASSUME_KERNEL=2.4.1 : This is very strange. This line is important to eliminate the incompatibility on GLIBC2.0 in the license.dat file for successive 2.4.1 kernel versions ( I read in a post ). This is true. But If I add this line to .bashrc the shell isn't initialized correctly and this is the result

uname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
uname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
bash: [: !=: unary operator expected
bash: [: troppi argomenti
bash: [: troppi argomenti
bash: [: =: unary operator expected
bash: [: troppi argomenti
bash: [: troppi argomenti
bash: [: troppi argomenti
bash: [: troppi argomenti
bash: [: troppi argomenti
bash: [: troppi argomenti
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: =: unary operator expected
bash: [: troppi argomenti
bash: [: =: unary operator expected
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
albert@CARONTE:~$

Can you help me ? Some doc to resolve thid problem ?

Thank you in advance for your help and sorry for my poor poor poor english!

Speedman
 

bash unary operator expected

Could you upload your .bashrc? It seems syntax error.
 

unary operator expected #! /bin/bash

this may not be answer to your question, but i'd suggest using c shell for cadence. and for the lib error, when you install linux, make sure you install all libelf packages. now you may download and install libelf package. this may be tricky because of dependency issues.

cheers

Added after 1 minutes:

well, look like you hvw missing libc library as well.
 

opening a file in bash

You don't need to set SHLIB_PATH in linux.
You dont' need to set LD_LIBRARY_PATH to run cadence.
As for LD_ASSUME_KERNEL, you can set it for cadence only. Just like this:
Code:
 alias icfb='LD_ASSUME_KERNEL=2.4.1 icfb"
Another way is to modify each shell scripts found in the cadence installation directory.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top