changing SHELL ?
Hi All,
I'm trying to install a program and I modified the Makefile to include all the correct locations, and then I wanted to modify my shellrc file, to include the LD_LIBRARY_PATH env variable, so this is what i get :-
echo $SHELL
/bin/bash
but the bash rc file is weird so I included the LD_LIBRARY_PATH in the .cshrc file, but when I try to switch shells I get this :-
[dahmad@asia DAhmad]$ csh
LD_LIBRARY_PATH: Undefined variable.
This is what my .cshrc file looks like :-
# .cshrc
# User specific aliases and functions
alias rm 'rm -i'
alias cp 'cp -i'
alias mv 'mv -i'
setenv PATH "/usr/local/sbin:/usr/sbin:/sbin:${PATH}:${HOME}/bin"
setenv LD_LIBRARY_PATH "/home/DAhmad/openssh3-mcard/"
set prompt=\[`id -nu`@`hostname -s`\]\#\
And the error from the program I'm trying to compile :-
[dahmad@asia openssh3-mcard]$ make
(cd openbsd-compat && make)
make[1]: Entering directory `/home/DAhmad/openssh3-mcard/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/DAhmad/openssh3-mcard/openbsd-compat'
gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/home/DAhmad/openssl-0.9.7 -L/home/DAhmad/openssh3-mcard/ -L/usr/lib -lssh -lopenbsd-compat -lutil -lz -lnsl -lcrypto
./libssh.a(scard-opensc.o): In function `sc_close':
/home/DAhmad/openssh3-mcard/scard-opensc.c:71: undefined reference to `sc_pkcs15_unbind'
/home/DAhmad/openssh3-mcard/scard-opensc.c:75: undefined reference to `sc_disconnect_card'
/home/DAhmad/openssh3-mcard/scard-opensc.c:79: undefined reference to `sc_release_context'
And it keeps going on and on ........
I hope somebody can please tell me what I'm doing wrong.
Regards,
Sim
|